new Text:ghosty2004_tdstealer[10];
public OnFilterScriptInit()
{
	ghosty2004_tdstealer[0] = TextDrawCreate(616.178223, 20.937752, "ROLEPLAY");
	TextDrawFont(ghosty2004_tdstealer[0], 2);
	TextDrawLetterSize(ghosty2004_tdstealer[0], 0.158132, 0.989660);
	TextDrawAlignment(ghosty2004_tdstealer[0], 2);
	TextDrawColor(ghosty2004_tdstealer[0], 0xFFFFFFFFFFFFFFFF);
	TextDrawSetProportional(ghosty2004_tdstealer[0], 1);
	TextDrawTextSize(ghosty2004_tdstealer[0], 1280.000000, 1280.000000);
	TextDrawSetShadow(ghosty2004_tdstealer[0], 0);
	TextDrawSetOutline(ghosty2004_tdstealer[0], 0);
	TextDrawBackgroundColor(ghosty2004_tdstealer[0], 0x00000033);
	TextDrawSetSelectable(ghosty2004_tdstealer[0], 0);

	ghosty2004_tdstealer[1] = TextDrawCreate(616.299927, 4.411540, "GAMBIT");
	TextDrawFont(ghosty2004_tdstealer[1], 2);
	TextDrawLetterSize(ghosty2004_tdstealer[1], 0.226253, 1.318007);
	TextDrawAlignment(ghosty2004_tdstealer[1], 2);
	TextDrawColor(ghosty2004_tdstealer[1], 0xFFFFFFFFFFFFFFFF);
	TextDrawSetProportional(ghosty2004_tdstealer[1], 1);
	TextDrawTextSize(ghosty2004_tdstealer[1], 1280.000000, 1280.000000);
	TextDrawSetShadow(ghosty2004_tdstealer[1], 0);
	TextDrawSetOutline(ghosty2004_tdstealer[1], 0);
	TextDrawBackgroundColor(ghosty2004_tdstealer[1], 0x00000033);
	TextDrawSetSelectable(ghosty2004_tdstealer[1], 0);

	ghosty2004_tdstealer[2] = TextDrawCreate(593.855103, 18.498940, "LD_SPAC:white");
	TextDrawFont(ghosty2004_tdstealer[2], 4);
	TextDrawLetterSize(ghosty2004_tdstealer[2], 0.000000, 0.000000);
	TextDrawAlignment(ghosty2004_tdstealer[2], 1);
	TextDrawColor(ghosty2004_tdstealer[2], 0xFFFFFFFFFFFFFFFF);
	TextDrawSetProportional(ghosty2004_tdstealer[2], 1);
	TextDrawTextSize(ghosty2004_tdstealer[2], 0.400000, 0.800000);
	TextDrawSetShadow(ghosty2004_tdstealer[2], 0);
	TextDrawSetOutline(ghosty2004_tdstealer[2], 0);
	TextDrawBackgroundColor(ghosty2004_tdstealer[2], 0x000000FF);
	TextDrawSetSelectable(ghosty2004_tdstealer[2], 0);

	ghosty2004_tdstealer[3] = TextDrawCreate(572.117676, 4.834661, "LD_BEAT:chit");
	TextDrawFont(ghosty2004_tdstealer[3], 4);
	TextDrawLetterSize(ghosty2004_tdstealer[3], 0.000000, 0.000000);
	TextDrawAlignment(ghosty2004_tdstealer[3], 1);
	TextDrawColor(ghosty2004_tdstealer[3], 0x3B5C7FFF);
	TextDrawSetProportional(ghosty2004_tdstealer[3], 1);
	TextDrawTextSize(ghosty2004_tdstealer[3], 22.249996, 26.567993);
	TextDrawSetShadow(ghosty2004_tdstealer[3], 0);
	TextDrawSetOutline(ghosty2004_tdstealer[3], 0);
	TextDrawBackgroundColor(ghosty2004_tdstealer[3], 0x000000FF);
	TextDrawSetSelectable(ghosty2004_tdstealer[3], 0);

	ghosty2004_tdstealer[4] = TextDrawCreate(615.927917, 14.833745, "San Andreas");
	TextDrawFont(ghosty2004_tdstealer[4], 2);
	TextDrawLetterSize(ghosty2004_tdstealer[4], 0.112982, 0.791582);
	TextDrawAlignment(ghosty2004_tdstealer[4], 2);
	TextDrawColor(ghosty2004_tdstealer[4], 0xFFFFFFFFFFFFFFFF);
	TextDrawSetProportional(ghosty2004_tdstealer[4], 1);
	TextDrawTextSize(ghosty2004_tdstealer[4], 1280.000000, 1280.000000);
	TextDrawSetShadow(ghosty2004_tdstealer[4], 0);
	TextDrawSetOutline(ghosty2004_tdstealer[4], 0);
	TextDrawBackgroundColor(ghosty2004_tdstealer[4], 0x00000033);
	TextDrawSetSelectable(ghosty2004_tdstealer[4], 0);

	ghosty2004_tdstealer[5] = TextDrawCreate(571.555298, 2.383111, "LD_BEAT:chit");
	TextDrawFont(ghosty2004_tdstealer[5], 4);
	TextDrawLetterSize(ghosty2004_tdstealer[5], 0.000000, 0.000000);
	TextDrawAlignment(ghosty2004_tdstealer[5], 1);
	TextDrawColor(ghosty2004_tdstealer[5], 0xFFFFFFFFFFFFFFFF);
	TextDrawSetProportional(ghosty2004_tdstealer[5], 1);
	TextDrawTextSize(ghosty2004_tdstealer[5], 27.400007, 30.000000);
	TextDrawSetShadow(ghosty2004_tdstealer[5], 0);
	TextDrawSetOutline(ghosty2004_tdstealer[5], 0);
	TextDrawBackgroundColor(ghosty2004_tdstealer[5], 0x000000FF);
	TextDrawSetSelectable(ghosty2004_tdstealer[5], 0);

	ghosty2004_tdstealer[6] = TextDrawCreate(581.665100, 18.638941, "LD_SPAC:white");
	TextDrawFont(ghosty2004_tdstealer[6], 4);
	TextDrawLetterSize(ghosty2004_tdstealer[6], 0.000000, 0.000000);
	TextDrawAlignment(ghosty2004_tdstealer[6], 1);
	TextDrawColor(ghosty2004_tdstealer[6], 0xFFFFFFFFFFFFFFFF);
	TextDrawSetProportional(ghosty2004_tdstealer[6], 1);
	TextDrawTextSize(ghosty2004_tdstealer[6], 12.272208, 1.957776);
	TextDrawSetShadow(ghosty2004_tdstealer[6], 0);
	TextDrawSetOutline(ghosty2004_tdstealer[6], 0);
	TextDrawBackgroundColor(ghosty2004_tdstealer[6], 0x000000FF);
	TextDrawSetSelectable(ghosty2004_tdstealer[6], 0);

	ghosty2004_tdstealer[7] = TextDrawCreate(588.060974, 12.064894, "LD_BEAT:chit");
	TextDrawFont(ghosty2004_tdstealer[7], 4);
	TextDrawLetterSize(ghosty2004_tdstealer[7], 0.000000, 0.000000);
	TextDrawAlignment(ghosty2004_tdstealer[7], 1);
	TextDrawColor(ghosty2004_tdstealer[7], 0x3B5C7FFF);
	TextDrawSetProportional(ghosty2004_tdstealer[7], 1);
	TextDrawTextSize(ghosty2004_tdstealer[7], 7.872208, 10.057776);
	TextDrawSetShadow(ghosty2004_tdstealer[7], 0);
	TextDrawSetOutline(ghosty2004_tdstealer[7], 0);
	TextDrawBackgroundColor(ghosty2004_tdstealer[7], 0x000000FF);
	TextDrawSetSelectable(ghosty2004_tdstealer[7], 0);

	ghosty2004_tdstealer[8] = TextDrawCreate(577.638184, 9.793757, "/");
	TextDrawFont(ghosty2004_tdstealer[8], 1);
	TextDrawLetterSize(ghosty2004_tdstealer[8], 1.001372, 1.282726);
	TextDrawAlignment(ghosty2004_tdstealer[8], 1);
	TextDrawColor(ghosty2004_tdstealer[8], 0x3B5C7FFF);
	TextDrawSetProportional(ghosty2004_tdstealer[8], 1);
	TextDrawUseBox(ghosty2004_tdstealer[8], 1);
	TextDrawBoxColor(ghosty2004_tdstealer[8], 0x00000000);
	TextDrawTextSize(ghosty2004_tdstealer[8], 1280.000000, 1280.000000);
	TextDrawSetShadow(ghosty2004_tdstealer[8], 0);
	TextDrawSetOutline(ghosty2004_tdstealer[8], 0);
	TextDrawBackgroundColor(ghosty2004_tdstealer[8], 0x00000033);
	TextDrawSetSelectable(ghosty2004_tdstealer[8], 0);

	ghosty2004_tdstealer[9] = TextDrawCreate(598.679932, 15.594659, "LD_SPAC:white");
	TextDrawFont(ghosty2004_tdstealer[9], 4);
	TextDrawLetterSize(ghosty2004_tdstealer[9], 0.000000, 0.000000);
	TextDrawAlignment(ghosty2004_tdstealer[9], 1);
	TextDrawColor(ghosty2004_tdstealer[9], 0x3B5C7FFF);
	TextDrawSetProportional(ghosty2004_tdstealer[9], 1);
	TextDrawTextSize(ghosty2004_tdstealer[9], 34.000000, 7.000000);
	TextDrawSetShadow(ghosty2004_tdstealer[9], 0);
	TextDrawSetOutline(ghosty2004_tdstealer[9], 0);
	TextDrawBackgroundColor(ghosty2004_tdstealer[9], 0x000000FF);
	TextDrawSetSelectable(ghosty2004_tdstealer[9], 0);
}

перепиши на Lua используя следующий функции

setTextDrawBeforeFade(bool int1)
uint tdpoolPtr = sampGetTextdrawPoolPtr()
sampSendClickTextdraw(int id)
sampTextdrawCreate(int id, zstring text, float posX, float posY)
sampTextdrawSetBoxColorAndSize(int id, int box, uint color, float sizeX, float sizeY)
sampTextdrawSetAlign(int id, int align)	
sampTextdrawSetProportional(int id, int proportional)	
sampTextdrawSetStyle(int id, int style)	
sampTextdrawSetShadow(int id, int shadow, uint color)	
sampTextdrawSetOutlineColor(int id, int outline, uint color)	
sampTextdrawSetModelRotationZoomVehColor(int id, int model, float rotX, float rotY, float rotZ, float zoom, int clr1, int clr2)	
sampTextdrawSetString(int id, zstring text)	
sampTextdrawSetPos(int id, float posX, float posY)	
sampTextdrawSetLetterSizeAndColor(int id, float letSizeX, float letSizeY, uint color)	
int box, uint color, float sizeX, float sizeY = sampTextdrawGetBoxEnabledColorAndSize(int id)	
int align = sampTextdrawGetAlign(int id)	
int prop = sampTextdrawGetProportional(int id)	
int style = sampTextdrawGetStyle(int id)	
int shadow, uint color = sampTextdrawGetShadowColor(int id)	
int outline, uint color = sampTextdrawGetOutlineColor(int id)	
int model, float rotX, float rotY, float rotZ, float zoom, int clr1, int clr2 = sampTextdrawGetModelRotationZoomVehColor(int id)	
zstring text = sampTextdrawGetString(int id)	
float posX, float posY = sampTextdrawGetPos(int id)	
float letSizeX, float letSizeY, uint color = sampTextdrawGetLetterSizeAndColor(int id)	
bool result = sampTextdrawIsExists(int id)