Pomoc oko textdrawowa


Započeo MR.UrkeLa, Maj 29, 2020, 16:09:05 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Problem(error/warning): Pa ovako textdrawowi se lepo ucitaju sve ali posle izvesnog vremena nestanu samo mi ostanu za banku zlato i ime koji su kreirani sa playerid , kada restartujem server vrati se u normalu ali posle opet nestanu globalni tdovi evo kodovi kako se kreirani.
Dio skripte: [ pawn ] stock KreirajTextDrawe(playerid)
{
   //==========================================================================
   TDEditor_TD[0] = TextDrawCreate(-1.276188, 430.181701, "LD_SPAC:white");
   TextDrawLetterSize(TDEditor_TD[0], 0.000000, 0.000000);
   TextDrawTextSize(TDEditor_TD[0], 653.000000, 17.000000);
   TextDrawAlignment(TDEditor_TD[0], 1);
   TextDrawColor(TDEditor_TD[0], 673720575);
   TextDrawSetShadow(TDEditor_TD[0], 0);
   TextDrawSetOutline(TDEditor_TD[0], 0);
   TextDrawBackgroundColor(TDEditor_TD[0], 255);
   TextDrawFont(TDEditor_TD[0], 4);
   TextDrawSetProportional(TDEditor_TD[0], 0);
   TextDrawSetShadow(TDEditor_TD[0], 0);

   TDEditor_TD[1] = TextDrawCreate(-18.319356, 454.305694, "particle:lamp_shad_64");
   TextDrawLetterSize(TDEditor_TD[1], 0.000000, 0.000000);
   TextDrawTextSize(TDEditor_TD[1], 686.000000, -24.000000);
   TextDrawAlignment(TDEditor_TD[1], 1);
   TextDrawColor(TDEditor_TD[1], 7787600);
   TextDrawSetShadow(TDEditor_TD[1], 0);
   TextDrawSetOutline(TDEditor_TD[1], 0);
   TextDrawBackgroundColor(TDEditor_TD[1], 255);
   TextDrawFont(TDEditor_TD[1], 4);
   TextDrawSetProportional(TDEditor_TD[1], 0);
   TextDrawSetShadow(TDEditor_TD[1], 0);

   TDEditor_TD[2] = TextDrawCreate(4.585729, 432.393768, "OLD");
   TextDrawLetterSize(TDEditor_TD[2], 0.210283, 0.832000);
   TextDrawAlignment(TDEditor_TD[2], 1);
   TextDrawColor(TDEditor_TD[2], 7787775);
   TextDrawSetShadow(TDEditor_TD[2], 0);
   TextDrawSetOutline(TDEditor_TD[2], 0);
   TextDrawBackgroundColor(TDEditor_TD[2], 255);
   TextDrawFont(TDEditor_TD[2], 1);
   TextDrawSetProportional(TDEditor_TD[2], 1);
   TextDrawSetShadow(TDEditor_TD[2], 0);

   TDEditor_TD[3] = TextDrawCreate(2.885730, 438.294128, "BALKAN");
   TextDrawLetterSize(TDEditor_TD[3], 0.210283, 0.832000);
   TextDrawAlignment(TDEditor_TD[3], 1);
   TextDrawColor(TDEditor_TD[3], -1);
   TextDrawSetShadow(TDEditor_TD[3], 0);
   TextDrawSetOutline(TDEditor_TD[3], 0);
   TextDrawBackgroundColor(TDEditor_TD[3], 255);
   TextDrawFont(TDEditor_TD[3], 1);
   TextDrawSetProportional(TDEditor_TD[3], 1);
   TextDrawSetShadow(TDEditor_TD[3], 0);

   TDEditor_TD[4] = TextDrawCreate(304.866699, 431.226623, "ld_beat:chit");
   TextDrawLetterSize(TDEditor_TD[4], 0.000000, 0.000000);
   TextDrawTextSize(TDEditor_TD[4], 14.000000, 15.000000);
   TextDrawAlignment(TDEditor_TD[4], 1);
   TextDrawColor(TDEditor_TD[4], 7787775);
   TextDrawSetShadow(TDEditor_TD[4], 0);
   TextDrawSetOutline(TDEditor_TD[4], 0);
   TextDrawBackgroundColor(TDEditor_TD[4], 255);
   TextDrawFont(TDEditor_TD[4], 4);
   TextDrawSetProportional(TDEditor_TD[4], 0);
   TextDrawSetShadow(TDEditor_TD[4], 0);

   TDEditor_TD[6] = TextDrawCreate(366.470458, 431.226623, "ld_beat:chit");
   TextDrawLetterSize(TDEditor_TD[6], 0.000000, 0.000000);
   TextDrawTextSize(TDEditor_TD[6], 14.000000, 15.000000);
   TextDrawAlignment(TDEditor_TD[6], 1);
   TextDrawColor(TDEditor_TD[6], 7787775);
   TextDrawSetShadow(TDEditor_TD[6], 0);
   TextDrawSetOutline(TDEditor_TD[6], 0);
   TextDrawBackgroundColor(TDEditor_TD[6], 255);
   TextDrawFont(TDEditor_TD[6], 4);
   TextDrawSetProportional(TDEditor_TD[6], 0);
   TextDrawSetShadow(TDEditor_TD[6], 0);

   TDEditor_TD[7] = TextDrawCreate(369.608337, 433.853210, "G");
   TextDrawLetterSize(TDEditor_TD[7], 0.295237, 1.036798);
   TextDrawAlignment(TDEditor_TD[7], 1);
   TextDrawColor(TDEditor_TD[7], 255);
   TextDrawSetShadow(TDEditor_TD[7], 0);
   TextDrawSetOutline(TDEditor_TD[7], 0);
   TextDrawBackgroundColor(TDEditor_TD[7], 255);
   TextDrawFont(TDEditor_TD[7], 1);
   TextDrawSetProportional(TDEditor_TD[7], 1);
   TextDrawSetShadow(TDEditor_TD[7], 0);

   TDEditor_TD[8] = TextDrawCreate(38.199954, 427.606567, "...");
   TextDrawLetterSize(TDEditor_TD[8], 0.261332, 1.553066);
   TextDrawAlignment(TDEditor_TD[8], 1);
   TextDrawColor(TDEditor_TD[8], -1);
   TextDrawSetShadow(TDEditor_TD[8], 0);
   TextDrawSetOutline(TDEditor_TD[8], 0);
   TextDrawBackgroundColor(TDEditor_TD[8], 255);
   TextDrawFont(TDEditor_TD[8], 2);
   TextDrawSetProportional(TDEditor_TD[8], 1);
   TextDrawSetShadow(TDEditor_TD[8], 0);

   TDEditor_TD[9] = TextDrawCreate(50.771495, 431.226623, "ld_beat:chit");
   TextDrawLetterSize(TDEditor_TD[9], 0.000000, 0.000000);
   TextDrawTextSize(TDEditor_TD[9], 14.000000, 15.000000);
   TextDrawAlignment(TDEditor_TD[9], 1);
   TextDrawColor(TDEditor_TD[9], 7787775);
   TextDrawSetShadow(TDEditor_TD[9], 0);
   TextDrawSetOutline(TDEditor_TD[9], 0);
   TextDrawBackgroundColor(TDEditor_TD[9], 255);
   TextDrawFont(TDEditor_TD[9], 4);
   TextDrawSetProportional(TDEditor_TD[9], 0);
   TextDrawSetShadow(TDEditor_TD[9], 0);

   TDEditor_TD[10] = TextDrawCreate(53.571395, 434.613403, "ld_chat:badchat");
   TextDrawLetterSize(TDEditor_TD[10], 0.000000, 0.000000);
   TextDrawTextSize(TDEditor_TD[10], 8.000000, 8.000000);
   TextDrawAlignment(TDEditor_TD[10], 1);
   TextDrawColor(TDEditor_TD[10], -1);
   TextDrawSetShadow(TDEditor_TD[10], 0);
   TextDrawSetOutline(TDEditor_TD[10], 0);
   TextDrawBackgroundColor(TDEditor_TD[10], 255);
   TextDrawFont(TDEditor_TD[10], 4);
   TextDrawSetProportional(TDEditor_TD[10], 0);
   TextDrawSetShadow(TDEditor_TD[10], 0);

   TDEditor_TD[11] = TextDrawCreate(181.047668, 435.359893, "DOBRODOSLI_NA_INDIGO_-_WWW.INDIGOGAMING.EU");
   TextDrawLetterSize(TDEditor_TD[11], 0.120760, 0.699733);
   TextDrawAlignment(TDEditor_TD[11], 2);
   TextDrawColor(TDEditor_TD[11], -1);
   TextDrawSetShadow(TDEditor_TD[11], 0);
   TextDrawSetOutline(TDEditor_TD[11], 0);
   TextDrawBackgroundColor(TDEditor_TD[11], 255);
   TextDrawFont(TDEditor_TD[11], 2);
   TextDrawSetProportional(TDEditor_TD[11], 1);
   TextDrawSetShadow(TDEditor_TD[11], 0);

   TDEditor_TD[12] = TextDrawCreate(290.381011, 427.479919, "...");
   TextDrawLetterSize(TDEditor_TD[12], 0.261332, 1.553066);
   TextDrawAlignment(TDEditor_TD[12], 1);
   TextDrawColor(TDEditor_TD[12], -1);
   TextDrawSetShadow(TDEditor_TD[12], 0);
   TextDrawSetOutline(TDEditor_TD[12], 0);
   TextDrawBackgroundColor(TDEditor_TD[12], 255);
   TextDrawFont(TDEditor_TD[12], 2);
   TextDrawSetProportional(TDEditor_TD[12], 1);
   TextDrawSetShadow(TDEditor_TD[12], 0);

   TDEditor_TD[14] = TextDrawCreate(429.674316, 431.226623, "ld_beat:chit");
   TextDrawLetterSize(TDEditor_TD[14], 0.000000, 0.000000);
   TextDrawTextSize(TDEditor_TD[14], 14.000000, 15.000000);
   TextDrawAlignment(TDEditor_TD[14], 1);
   TextDrawColor(TDEditor_TD[14], 7787775);
   TextDrawSetShadow(TDEditor_TD[14], 0);
   TextDrawSetOutline(TDEditor_TD[14], 0);
   TextDrawBackgroundColor(TDEditor_TD[14], 255);
   TextDrawFont(TDEditor_TD[14], 4);
   TextDrawSetProportional(TDEditor_TD[14], 0);
   TextDrawSetShadow(TDEditor_TD[14], 0);

   TDEditor_TD[15] = TextDrawCreate(433.112213, 433.853210, "N");
   TextDrawLetterSize(TDEditor_TD[15], 0.295237, 1.036798);
   TextDrawAlignment(TDEditor_TD[15], 1);
   TextDrawColor(TDEditor_TD[15], 255);
   TextDrawSetShadow(TDEditor_TD[15], 0);
   TextDrawSetOutline(TDEditor_TD[15], 0);
   TextDrawBackgroundColor(TDEditor_TD[15], 255);
   TextDrawFont(TDEditor_TD[15], 1);
   TextDrawSetProportional(TDEditor_TD[15], 1);
   TextDrawSetShadow(TDEditor_TD[15], 0);

   TDEditor_TD[17] = TextDrawCreate(527.652404, 427.906585, "...");
   TextDrawLetterSize(TDEditor_TD[17], 0.261332, 1.553066);
   TextDrawAlignment(TDEditor_TD[17], 1);
   TextDrawColor(TDEditor_TD[17], -1);
   TextDrawSetShadow(TDEditor_TD[17], 0);
   TextDrawSetOutline(TDEditor_TD[17], 0);
   TextDrawBackgroundColor(TDEditor_TD[17], 255);
   TextDrawFont(TDEditor_TD[17], 2);
   TextDrawSetProportional(TDEditor_TD[17], 1);
   TextDrawSetShadow(TDEditor_TD[17], 0);

   TDEditor_TD[18] = TextDrawCreate(542.076843, 433.126586, "HAPPYHOURS");
   TextDrawLetterSize(TDEditor_TD[18], 0.190476, 0.802133);
   TextDrawAlignment(TDEditor_TD[18], 1);
   TextDrawColor(TDEditor_TD[18], 7787775);
   TextDrawSetShadow(TDEditor_TD[18], 0);
   TextDrawSetOutline(TDEditor_TD[18], 0);
   TextDrawBackgroundColor(TDEditor_TD[18], 255);
   TextDrawFont(TDEditor_TD[18], 1);
   TextDrawSetProportional(TDEditor_TD[18], 1);
   TextDrawSetShadow(TDEditor_TD[18], 0);

   TDEditor_TD[20] = TextDrawCreate(595.263854, 433.126586, "HAPPYJOB");
   TextDrawLetterSize(TDEditor_TD[20], 0.190476, 0.802133);
   TextDrawAlignment(TDEditor_TD[20], 1);
   TextDrawColor(TDEditor_TD[20], 7787775);
   TextDrawSetShadow(TDEditor_TD[20], 0);
   TextDrawSetOutline(TDEditor_TD[20], 0);
   TextDrawBackgroundColor(TDEditor_TD[20], 255);
   TextDrawFont(TDEditor_TD[20], 1);
   TextDrawSetProportional(TDEditor_TD[20], 1);
   TextDrawSetShadow(TDEditor_TD[20], 0);

   TDEditor_TD[21] = TextDrawCreate(587.084777, 438.400268, "_____SOON");
   TextDrawLetterSize(TDEditor_TD[21], 0.155046, 0.610132);
   TextDrawAlignment(TDEditor_TD[21], 1);
   TextDrawColor(TDEditor_TD[21], -1);
   TextDrawSetShadow(TDEditor_TD[21], 0);
   TextDrawSetOutline(TDEditor_TD[21], 0);
   TextDrawBackgroundColor(TDEditor_TD[21], 255);
   TextDrawFont(TDEditor_TD[21], 1);
   TextDrawSetProportional(TDEditor_TD[21], 1);
   TextDrawSetShadow(TDEditor_TD[21], 0);

   TDEditor_TD[22] = TextDrawCreate(599.809326, 6.319912, "OLD ~w~BALKAN");
   TextDrawLetterSize(TDEditor_TD[22], 0.325713, 1.126399);
   TextDrawAlignment(TDEditor_TD[22], 3);
   TextDrawColor(TDEditor_TD[22], 7787775);
   TextDrawSetShadow(TDEditor_TD[22], 0);
   TextDrawSetOutline(TDEditor_TD[22], 1);
   TextDrawBackgroundColor(TDEditor_TD[22], 255);
   TextDrawFont(TDEditor_TD[22], 3);
   TextDrawSetProportional(TDEditor_TD[22], 1);
   TextDrawSetShadow(TDEditor_TD[22], 0);

   TDEditor_TD[23] = TextDrawCreate(540.285644, 14.840018, "YOUR_VISION_START_HERE");
   TextDrawLetterSize(TDEditor_TD[23], 0.090285, 0.550400);
   TextDrawAlignment(TDEditor_TD[23], 1);
   TextDrawColor(TDEditor_TD[23], -1);
   TextDrawSetShadow(TDEditor_TD[23], 0);
   TextDrawSetOutline(TDEditor_TD[23], 0);
   TextDrawBackgroundColor(TDEditor_TD[23], 255);
   TextDrawFont(TDEditor_TD[23], 2);
   TextDrawSetProportional(TDEditor_TD[23], 1);
   TextDrawSetShadow(TDEditor_TD[23], 0);

   TDEditor_TD[24] = TextDrawCreate(309.009429, 433.626556, "$");
   TextDrawLetterSize(TDEditor_TD[24], 0.266285, 0.977066);
   TextDrawAlignment(TDEditor_TD[24], 1);
   TextDrawColor(TDEditor_TD[24], 255);
   TextDrawSetShadow(TDEditor_TD[24], 0);
   TextDrawSetOutline(TDEditor_TD[24], 0);
   TextDrawBackgroundColor(TDEditor_TD[24], 255);
   TextDrawFont(TDEditor_TD[24], 1);
   TextDrawSetProportional(TDEditor_TD[24], 1);
   TextDrawSetShadow(TDEditor_TD[24], 0);
   //-------------------------------------------------------------------------//
    ZlatoTD[0][playerid] = CreatePlayerTextDraw(playerid,406.770751, 434.606567, "99999999999");
   PlayerTextDrawLetterSize(playerid,ZlatoTD[0][playerid], 0.113903, 0.746666);
   PlayerTextDrawAlignment(playerid,ZlatoTD[0][playerid], 2);
   PlayerTextDrawColor(playerid,ZlatoTD[0][playerid], -1);
   PlayerTextDrawSetShadow(playerid,ZlatoTD[0][playerid], 0);
   PlayerTextDrawSetOutline(playerid,ZlatoTD[0][playerid], 0);
   PlayerTextDrawBackgroundColor(playerid,ZlatoTD[0][playerid], 255);
   PlayerTextDrawFont(playerid,ZlatoTD[0][playerid], 2);
   PlayerTextDrawSetProportional(playerid,ZlatoTD[0][playerid], 1);
   PlayerTextDrawSetShadow(playerid,ZlatoTD[0][playerid], 0);

    BankaTD[0][playerid] = CreatePlayerTextDraw(playerid,344.366943, 434.606567, "99999999999");
   PlayerTextDrawLetterSize(playerid,BankaTD[0][playerid], 0.113903, 0.746666);
   PlayerTextDrawAlignment(playerid,BankaTD[0][playerid], 2);
   PlayerTextDrawColor(playerid,BankaTD[0][playerid], -1);
   PlayerTextDrawSetShadow(playerid,BankaTD[0][playerid], 0);
   PlayerTextDrawSetOutline(playerid,BankaTD[0][playerid], 0);
   PlayerTextDrawBackgroundColor(playerid,BankaTD[0][playerid], 255);
   PlayerTextDrawFont(playerid,BankaTD[0][playerid], 2);
   PlayerTextDrawSetProportional(playerid,BankaTD[0][playerid], 1);
   PlayerTextDrawSetShadow(playerid,BankaTD[0][playerid], 0);
   
   Nicku[playerid] = CreatePlayerTextDraw(playerid,482.875396, 434.606567, "EKSEPTED_TDEDITORLONE");
   PlayerTextDrawLetterSize(playerid,Nicku[playerid], 0.113903, 0.746666);
   PlayerTextDrawAlignment(playerid,Nicku[playerid], 2);
   PlayerTextDrawColor(playerid,Nicku[playerid], -1);
   PlayerTextDrawSetShadow(playerid,Nicku[playerid], 0);
   PlayerTextDrawSetOutline(playerid,Nicku[playerid], 0);
   PlayerTextDrawBackgroundColor(playerid,Nicku[playerid], 255);
   PlayerTextDrawFont(playerid,Nicku[playerid], 2);
   PlayerTextDrawSetProportional(playerid,Nicku[playerid], 1);
   PlayerTextDrawSetShadow(playerid,Nicku[playerid], 0);
        return 1;
}
Pod OnPlayerSpawn imam TextDrawShowForPlayer i PlayerTextDrawShow za one koji nisu globalne evo i to saljem
if(TextDrawGangZone[playerid] != 1)
   {
      TextDrawShowForPlayer(playerid,TDEditor_TD[0]);
      TextDrawShowForPlayer(playerid,TDEditor_TD[1]);
      TextDrawShowForPlayer(playerid,TDEditor_TD[2]);
      TextDrawShowForPlayer(playerid,TDEditor_TD[3]);
        TextDrawShowForPlayer(playerid,TDEditor_TD[4]);
        TextDrawShowForPlayer(playerid,TDEditor_TD[6]);
        TextDrawShowForPlayer(playerid,TDEditor_TD[7]);
        TextDrawShowForPlayer(playerid,TDEditor_TD[8]);
        TextDrawShowForPlayer(playerid,TDEditor_TD[9]);
        TextDrawShowForPlayer(playerid,TDEditor_TD[10]);
        TextDrawShowForPlayer(playerid,TDEditor_TD[11]);
        TextDrawShowForPlayer(playerid,TDEditor_TD[12]);
        TextDrawShowForPlayer(playerid,TDEditor_TD[14]);
        TextDrawShowForPlayer(playerid,TDEditor_TD[15]);
        TextDrawShowForPlayer(playerid,TDEditor_TD[17]);
        TextDrawShowForPlayer(playerid,TDEditor_TD[18]);
        TextDrawShowForPlayer(playerid,dupliexp);
        TextDrawShowForPlayer(playerid,TDEditor_TD[20]);
        TextDrawShowForPlayer(playerid,TDEditor_TD[21]);
        TextDrawShowForPlayer(playerid,TDEditor_TD[22]);
        TextDrawShowForPlayer(playerid,TDEditor_TD[23]);
        TextDrawShowForPlayer(playerid,TDEditor_TD[24]);
      PlayerTextDrawShow(playerid,BankaTD[0][playerid]);
      PlayerTextDrawShow(playerid,ZlatoTD[0][playerid]);
      PlayerTextDrawShow(playerid,Nicku[playerid]);
    }
[ /pawn ]
i Pode OnPlayercONNECT Imam KreirajTextDrawe(playerid);
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): [ code ]/[ /code ]
Slika/video ingame problema(obavezno ako je ingame problem): link slike

Ja ovo ponavljam vec ne znam ni ja koliko puta "googaj decko"
AKO ZNAS ZA BOGA I ZA GLAVU ZIVU NE BRANI MI DOKTORE RAKIJU I PIVU

Pogledaj malo kako show-ujes TD-ove i pod koju funkciju ja ti predlazem napravi jednostavan loop
Npr:
for(new i = 0; i <= 24; i++)
{
TextDrawShowForPlayer(playerid,IMETDA[i]);
}
Poslednja Izmena: Maj 29, 2020, 21:34:40 POSLE PODNE od optimus999

Googlaj kao sto je reko Lestra,mora jos jedan loop i HidePlayer ne Samo Show

eto probaj ovako ako budne isto ond jbg
{
   //==========================================================================
   TDEditor_TD[0] = TextDrawCreate(-1.276188, 430.181701, "LD_SPAC:white");
   TextDrawLetterSize(TDEditor_TD[0], 0.000000, 0.000000);
   TextDrawTextSize(TDEditor_TD[0], 653.000000, 17.000000);
   TextDrawAlignment(TDEditor_TD[0], 1);
   TextDrawColor(TDEditor_TD[0], 673720575);
   TextDrawSetShadow(TDEditor_TD[0], 0);
   TextDrawSetOutline(TDEditor_TD[0], 0);
   TextDrawBackgroundColor(TDEditor_TD[0], 255);
   TextDrawFont(TDEditor_TD[0], 4);
   TextDrawSetProportional(TDEditor_TD[0], 0);
   TextDrawSetShadow(TDEditor_TD[0], 0);

   TDEditor_TD[1] = TextDrawCreate(-18.319356, 454.305694, "particle:lamp_shad_64");
   TextDrawLetterSize(TDEditor_TD[1], 0.000000, 0.000000);
   TextDrawTextSize(TDEditor_TD[1], 686.000000, -24.000000);
   TextDrawAlignment(TDEditor_TD[1], 1);
   TextDrawColor(TDEditor_TD[1], 7787600);
   TextDrawSetShadow(TDEditor_TD[1], 0);
   TextDrawSetOutline(TDEditor_TD[1], 0);
   TextDrawBackgroundColor(TDEditor_TD[1], 255);
   TextDrawFont(TDEditor_TD[1], 4);
   TextDrawSetProportional(TDEditor_TD[1], 0);
   TextDrawSetShadow(TDEditor_TD[1], 0);

   TDEditor_TD[2] = TextDrawCreate(4.585729, 432.393768, "OLD");
   TextDrawLetterSize(TDEditor_TD[2], 0.210283, 0.832000);
   TextDrawAlignment(TDEditor_TD[2], 1);
   TextDrawColor(TDEditor_TD[2], 7787775);
   TextDrawSetShadow(TDEditor_TD[2], 0);
   TextDrawSetOutline(TDEditor_TD[2], 0);
   TextDrawBackgroundColor(TDEditor_TD[2], 255);
   TextDrawFont(TDEditor_TD[2], 1);
   TextDrawSetProportional(TDEditor_TD[2], 1);
   TextDrawSetShadow(TDEditor_TD[2], 0);

   TDEditor_TD[3] = TextDrawCreate(2.885730, 438.294128, "BALKAN");
   TextDrawLetterSize(TDEditor_TD[3], 0.210283, 0.832000);
   TextDrawAlignment(TDEditor_TD[3], 1);
   TextDrawColor(TDEditor_TD[3], -1);
   TextDrawSetShadow(TDEditor_TD[3], 0);
   TextDrawSetOutline(TDEditor_TD[3], 0);
   TextDrawBackgroundColor(TDEditor_TD[3], 255);
   TextDrawFont(TDEditor_TD[3], 1);
   TextDrawSetProportional(TDEditor_TD[3], 1);
   TextDrawSetShadow(TDEditor_TD[3], 0);

   TDEditor_TD[4] = TextDrawCreate(304.866699, 431.226623, "ld_beat:chit");
   TextDrawLetterSize(TDEditor_TD[4], 0.000000, 0.000000);
   TextDrawTextSize(TDEditor_TD[4], 14.000000, 15.000000);
   TextDrawAlignment(TDEditor_TD[4], 1);
   TextDrawColor(TDEditor_TD[4], 7787775);
   TextDrawSetShadow(TDEditor_TD[4], 0);
   TextDrawSetOutline(TDEditor_TD[4], 0);
   TextDrawBackgroundColor(TDEditor_TD[4], 255);
   TextDrawFont(TDEditor_TD[4], 4);
   TextDrawSetProportional(TDEditor_TD[4], 0);
   TextDrawSetShadow(TDEditor_TD[4], 0);

   TDEditor_TD[6] = TextDrawCreate(366.470458, 431.226623, "ld_beat:chit");
   TextDrawLetterSize(TDEditor_TD[6], 0.000000, 0.000000);
   TextDrawTextSize(TDEditor_TD[6], 14.000000, 15.000000);
   TextDrawAlignment(TDEditor_TD[6], 1);
   TextDrawColor(TDEditor_TD[6], 7787775);
   TextDrawSetShadow(TDEditor_TD[6], 0);
   TextDrawSetOutline(TDEditor_TD[6], 0);
   TextDrawBackgroundColor(TDEditor_TD[6], 255);
   TextDrawFont(TDEditor_TD[6], 4);
   TextDrawSetProportional(TDEditor_TD[6], 0);
   TextDrawSetShadow(TDEditor_TD[6], 0);

   TDEditor_TD[7] = TextDrawCreate(369.608337, 433.853210, "G");
   TextDrawLetterSize(TDEditor_TD[7], 0.295237, 1.036798);
   TextDrawAlignment(TDEditor_TD[7], 1);
   TextDrawColor(TDEditor_TD[7], 255);
   TextDrawSetShadow(TDEditor_TD[7], 0);
   TextDrawSetOutline(TDEditor_TD[7], 0);
   TextDrawBackgroundColor(TDEditor_TD[7], 255);
   TextDrawFont(TDEditor_TD[7], 1);
   TextDrawSetProportional(TDEditor_TD[7], 1);
   TextDrawSetShadow(TDEditor_TD[7], 0);

   TDEditor_TD[8] = TextDrawCreate(38.199954, 427.606567, "...");
   TextDrawLetterSize(TDEditor_TD[8], 0.261332, 1.553066);
   TextDrawAlignment(TDEditor_TD[8], 1);
   TextDrawColor(TDEditor_TD[8], -1);
   TextDrawSetShadow(TDEditor_TD[8], 0);
   TextDrawSetOutline(TDEditor_TD[8], 0);
   TextDrawBackgroundColor(TDEditor_TD[8], 255);
   TextDrawFont(TDEditor_TD[8], 2);
   TextDrawSetProportional(TDEditor_TD[8], 1);
   TextDrawSetShadow(TDEditor_TD[8], 0);

   TDEditor_TD[9] = TextDrawCreate(50.771495, 431.226623, "ld_beat:chit");
   TextDrawLetterSize(TDEditor_TD[9], 0.000000, 0.000000);
   TextDrawTextSize(TDEditor_TD[9], 14.000000, 15.000000);
   TextDrawAlignment(TDEditor_TD[9], 1);
   TextDrawColor(TDEditor_TD[9], 7787775);
   TextDrawSetShadow(TDEditor_TD[9], 0);
   TextDrawSetOutline(TDEditor_TD[9], 0);
   TextDrawBackgroundColor(TDEditor_TD[9], 255);
   TextDrawFont(TDEditor_TD[9], 4);
   TextDrawSetProportional(TDEditor_TD[9], 0);
   TextDrawSetShadow(TDEditor_TD[9], 0);

   TDEditor_TD[10] = TextDrawCreate(53.571395, 434.613403, "ld_chat:badchat");
   TextDrawLetterSize(TDEditor_TD[10], 0.000000, 0.000000);
   TextDrawTextSize(TDEditor_TD[10], 8.000000, 8.000000);
   TextDrawAlignment(TDEditor_TD[10], 1);
   TextDrawColor(TDEditor_TD[10], -1);
   TextDrawSetShadow(TDEditor_TD[10], 0);
   TextDrawSetOutline(TDEditor_TD[10], 0);
   TextDrawBackgroundColor(TDEditor_TD[10], 255);
   TextDrawFont(TDEditor_TD[10], 4);
   TextDrawSetProportional(TDEditor_TD[10], 0);
   TextDrawSetShadow(TDEditor_TD[10], 0);

   TDEditor_TD[11] = TextDrawCreate(181.047668, 435.359893, "DOBRODOSLI_NA_INDIGO_-_WWW.INDIGOGAMING.EU");
   TextDrawLetterSize(TDEditor_TD[11], 0.120760, 0.699733);
   TextDrawAlignment(TDEditor_TD[11], 2);
   TextDrawColor(TDEditor_TD[11], -1);
   TextDrawSetShadow(TDEditor_TD[11], 0);
   TextDrawSetOutline(TDEditor_TD[11], 0);
   TextDrawBackgroundColor(TDEditor_TD[11], 255);
   TextDrawFont(TDEditor_TD[11], 2);
   TextDrawSetProportional(TDEditor_TD[11], 1);
   TextDrawSetShadow(TDEditor_TD[11], 0);

   TDEditor_TD[12] = TextDrawCreate(290.381011, 427.479919, "...");
   TextDrawLetterSize(TDEditor_TD[12], 0.261332, 1.553066);
   TextDrawAlignment(TDEditor_TD[12], 1);
   TextDrawColor(TDEditor_TD[12], -1);
   TextDrawSetShadow(TDEditor_TD[12], 0);
   TextDrawSetOutline(TDEditor_TD[12], 0);
   TextDrawBackgroundColor(TDEditor_TD[12], 255);
   TextDrawFont(TDEditor_TD[12], 2);
   TextDrawSetProportional(TDEditor_TD[12], 1);
   TextDrawSetShadow(TDEditor_TD[12], 0);

   TDEditor_TD[14] = TextDrawCreate(429.674316, 431.226623, "ld_beat:chit");
   TextDrawLetterSize(TDEditor_TD[14], 0.000000, 0.000000);
   TextDrawTextSize(TDEditor_TD[14], 14.000000, 15.000000);
   TextDrawAlignment(TDEditor_TD[14], 1);
   TextDrawColor(TDEditor_TD[14], 7787775);
   TextDrawSetShadow(TDEditor_TD[14], 0);
   TextDrawSetOutline(TDEditor_TD[14], 0);
   TextDrawBackgroundColor(TDEditor_TD[14], 255);
   TextDrawFont(TDEditor_TD[14], 4);
   TextDrawSetProportional(TDEditor_TD[14], 0);
   TextDrawSetShadow(TDEditor_TD[14], 0);

   TDEditor_TD[15] = TextDrawCreate(433.112213, 433.853210, "N");
   TextDrawLetterSize(TDEditor_TD[15], 0.295237, 1.036798);
   TextDrawAlignment(TDEditor_TD[15], 1);
   TextDrawColor(TDEditor_TD[15], 255);
   TextDrawSetShadow(TDEditor_TD[15], 0);
   TextDrawSetOutline(TDEditor_TD[15], 0);
   TextDrawBackgroundColor(TDEditor_TD[15], 255);
   TextDrawFont(TDEditor_TD[15], 1);
   TextDrawSetProportional(TDEditor_TD[15], 1);
   TextDrawSetShadow(TDEditor_TD[15], 0);

   TDEditor_TD[17] = TextDrawCreate(527.652404, 427.906585, "...");
   TextDrawLetterSize(TDEditor_TD[17], 0.261332, 1.553066);
   TextDrawAlignment(TDEditor_TD[17], 1);
   TextDrawColor(TDEditor_TD[17], -1);
   TextDrawSetShadow(TDEditor_TD[17], 0);
   TextDrawSetOutline(TDEditor_TD[17], 0);
   TextDrawBackgroundColor(TDEditor_TD[17], 255);
   TextDrawFont(TDEditor_TD[17], 2);
   TextDrawSetProportional(TDEditor_TD[17], 1);
   TextDrawSetShadow(TDEditor_TD[17], 0);

   TDEditor_TD[18] = TextDrawCreate(542.076843, 433.126586, "HAPPYHOURS");
   TextDrawLetterSize(TDEditor_TD[18], 0.190476, 0.802133);
   TextDrawAlignment(TDEditor_TD[18], 1);
   TextDrawColor(TDEditor_TD[18], 7787775);
   TextDrawSetShadow(TDEditor_TD[18], 0);
   TextDrawSetOutline(TDEditor_TD[18], 0);
   TextDrawBackgroundColor(TDEditor_TD[18], 255);
   TextDrawFont(TDEditor_TD[18], 1);
   TextDrawSetProportional(TDEditor_TD[18], 1);
   TextDrawSetShadow(TDEditor_TD[18], 0);

   TDEditor_TD[20] = TextDrawCreate(595.263854, 433.126586, "HAPPYJOB");
   TextDrawLetterSize(TDEditor_TD[20], 0.190476, 0.802133);
   TextDrawAlignment(TDEditor_TD[20], 1);
   TextDrawColor(TDEditor_TD[20], 7787775);
   TextDrawSetShadow(TDEditor_TD[20], 0);
   TextDrawSetOutline(TDEditor_TD[20], 0);
   TextDrawBackgroundColor(TDEditor_TD[20], 255);
   TextDrawFont(TDEditor_TD[20], 1);
   TextDrawSetProportional(TDEditor_TD[20], 1);
   TextDrawSetShadow(TDEditor_TD[20], 0);

   TDEditor_TD[21] = TextDrawCreate(587.084777, 438.400268, "_____SOON");
   TextDrawLetterSize(TDEditor_TD[21], 0.155046, 0.610132);
   TextDrawAlignment(TDEditor_TD[21], 1);
   TextDrawColor(TDEditor_TD[21], -1);
   TextDrawSetShadow(TDEditor_TD[21], 0);
   TextDrawSetOutline(TDEditor_TD[21], 0);
   TextDrawBackgroundColor(TDEditor_TD[21], 255);
   TextDrawFont(TDEditor_TD[21], 1);
   TextDrawSetProportional(TDEditor_TD[21], 1);
   TextDrawSetShadow(TDEditor_TD[21], 0);

   TDEditor_TD[22] = TextDrawCreate(599.809326, 6.319912, "OLD ~w~BALKAN");
   TextDrawLetterSize(TDEditor_TD[22], 0.325713, 1.126399);
   TextDrawAlignment(TDEditor_TD[22], 3);
   TextDrawColor(TDEditor_TD[22], 7787775);
   TextDrawSetShadow(TDEditor_TD[22], 0);
   TextDrawSetOutline(TDEditor_TD[22], 1);
   TextDrawBackgroundColor(TDEditor_TD[22], 255);
   TextDrawFont(TDEditor_TD[22], 3);
   TextDrawSetProportional(TDEditor_TD[22], 1);
   TextDrawSetShadow(TDEditor_TD[22], 0);

   TDEditor_TD[23] = TextDrawCreate(540.285644, 14.840018, "YOUR_VISION_START_HERE");
   TextDrawLetterSize(TDEditor_TD[23], 0.090285, 0.550400);
   TextDrawAlignment(TDEditor_TD[23], 1);
   TextDrawColor(TDEditor_TD[23], -1);
   TextDrawSetShadow(TDEditor_TD[23], 0);
   TextDrawSetOutline(TDEditor_TD[23], 0);
   TextDrawBackgroundColor(TDEditor_TD[23], 255);
   TextDrawFont(TDEditor_TD[23], 2);
   TextDrawSetProportional(TDEditor_TD[23], 1);
   TextDrawSetShadow(TDEditor_TD[23], 0);

   TDEditor_TD[24] = TextDrawCreate(309.009429, 433.626556, "$");
   TextDrawLetterSize(TDEditor_TD[24], 0.266285, 0.977066);
   TextDrawAlignment(TDEditor_TD[24], 1);
   TextDrawColor(TDEditor_TD[24], 255);
   TextDrawSetShadow(TDEditor_TD[24], 0);
   TextDrawSetOutline(TDEditor_TD[24], 0);
   TextDrawBackgroundColor(TDEditor_TD[24], 255);
   TextDrawFont(TDEditor_TD[24], 1);
   TextDrawSetProportional(TDEditor_TD[24], 1);
   TextDrawSetShadow(TDEditor_TD[24], 0);
   //-------------------------------------------------------------------------//
    ZlatoTD[0][playerid] = CreatePlayerTextDraw(playerid,406.770751, 434.606567, "0");
   PlayerTextDrawLetterSize(playerid,ZlatoTD[0][playerid], 0.113903, 0.746666);
   PlayerTextDrawAlignment(playerid,ZlatoTD[0][playerid], 2);
   PlayerTextDrawColor(playerid,ZlatoTD[0][playerid], -1);
   PlayerTextDrawSetShadow(playerid,ZlatoTD[0][playerid], 0);
   PlayerTextDrawSetOutline(playerid,ZlatoTD[0][playerid], 0);
   PlayerTextDrawBackgroundColor(playerid,ZlatoTD[0][playerid], 255);
   PlayerTextDrawFont(playerid,ZlatoTD[0][playerid], 2);
   PlayerTextDrawSetProportional(playerid,ZlatoTD[0][playerid], 1);
   PlayerTextDrawSetShadow(playerid,ZlatoTD[0][playerid], 0);

    BankaTD[0][playerid] = CreatePlayerTextDraw(playerid,344.366943, 434.606567, "0");
   PlayerTextDrawLetterSize(playerid,BankaTD[0][playerid], 0.113903, 0.746666);
   PlayerTextDrawAlignment(playerid,BankaTD[0][playerid], 2);
   PlayerTextDrawColor(playerid,BankaTD[0][playerid], -1);
   PlayerTextDrawSetShadow(playerid,BankaTD[0][playerid], 0);
   PlayerTextDrawSetOutline(playerid,BankaTD[0][playerid], 0);
   PlayerTextDrawBackgroundColor(playerid,BankaTD[0][playerid], 255);
   PlayerTextDrawFont(playerid,BankaTD[0][playerid], 2);
   PlayerTextDrawSetProportional(playerid,BankaTD[0][playerid], 1);
   PlayerTextDrawSetShadow(playerid,BankaTD[0][playerid], 0);
   
   Nicku[playerid] = CreatePlayerTextDraw(playerid,482.875396, 434.606567, "EKSEPTED_TDEDITORLONE");
   PlayerTextDrawLetterSize(playerid,Nicku[playerid], 0.113903, 0.746666);
   PlayerTextDrawAlignment(playerid,Nicku[playerid], 2);
   PlayerTextDrawColor(playerid,Nicku[playerid], -1);
   PlayerTextDrawSetShadow(playerid,Nicku[playerid], 0);
   PlayerTextDrawSetOutline(playerid,Nicku[playerid], 0);
   PlayerTextDrawBackgroundColor(playerid,Nicku[playerid], 255);
   PlayerTextDrawFont(playerid,Nicku[playerid], 2);
   PlayerTextDrawSetProportional(playerid,Nicku[playerid], 1);
   PlayerTextDrawSetShadow(playerid,Nicku[playerid], 0);
        return 1;
}
Pod OnPlayerSpawn imam TextDrawShowForPlayer i PlayerTextDrawShow za one koji nisu globalne evo i to saljem
if(TextDrawGangZone[playerid] != 1)
   {
      TextDrawShowForPlayer(playerid,TDEditor_TD[0]);
      TextDrawShowForPlayer(playerid,TDEditor_TD[1]);
      TextDrawShowForPlayer(playerid,TDEditor_TD[2]);
      TextDrawShowForPlayer(playerid,TDEditor_TD[3]);
        TextDrawShowForPlayer(playerid,TDEditor_TD[4]);
        TextDrawShowForPlayer(playerid,TDEditor_TD[6]);
        TextDrawShowForPlayer(playerid,TDEditor_TD[7]);
        TextDrawShowForPlayer(playerid,TDEditor_TD[8]);
        TextDrawShowForPlayer(playerid,TDEditor_TD[9]);
        TextDrawShowForPlayer(playerid,TDEditor_TD[10]);
        TextDrawShowForPlayer(playerid,TDEditor_TD[11]);
        TextDrawShowForPlayer(playerid,TDEditor_TD[12]);
        TextDrawShowForPlayer(playerid,TDEditor_TD[14]);
        TextDrawShowForPlayer(playerid,TDEditor_TD[15]);
        TextDrawShowForPlayer(playerid,TDEditor_TD[17]);
        TextDrawShowForPlayer(playerid,TDEditor_TD[18]);
        TextDrawShowForPlayer(playerid,dupliexp);
        TextDrawShowForPlayer(playerid,TDEditor_TD[20]);
        TextDrawShowForPlayer(playerid,TDEditor_TD[21]);
        TextDrawShowForPlayer(playerid,TDEditor_TD[22]);
        TextDrawShowForPlayer(playerid,TDEditor_TD[23]);
        TextDrawShowForPlayer(playerid,TDEditor_TD[24]);
      PlayerTextDrawShow(playerid,BankaTD[0][playerid]);
      PlayerTextDrawShow(playerid,ZlatoTD[0][playerid]);
      PlayerTextDrawShow(playerid,Nicku[playerid]);
    }
[ /pawn ]
i Pode OnPlayercONNECT Imam KreirajTextDrawe(playerid);
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): [ code ]/[ /code ]
Slika/video ingame problema(obavezno ako je ingame problem): link slike
[/quote]