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 = TextDrawCreate(-1.276188, 430.181701, "LD_SPAC:white");
TextDrawLetterSize(TDEditor_TD, 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD, 653.000000, 17.000000);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, 673720575);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 4);
TextDrawSetProportional(TDEditor_TD, 0);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(-18.319356, 454.305694, "particle:lamp_shad_64");
TextDrawLetterSize(TDEditor_TD, 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD, 686.000000, -24.000000);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, 7787600);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 4);
TextDrawSetProportional(TDEditor_TD, 0);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(4.585729, 432.393768, "OLD");
TextDrawLetterSize(TDEditor_TD, 0.210283, 0.832000);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, 7787775);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 1);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(2.885730, 438.294128, "BALKAN");
TextDrawLetterSize(TDEditor_TD, 0.210283, 0.832000);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, -1);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 1);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(304.866699, 431.226623, "ld_beat:chit");
TextDrawLetterSize(TDEditor_TD, 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD, 14.000000, 15.000000);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, 7787775);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 4);
TextDrawSetProportional(TDEditor_TD, 0);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(366.470458, 431.226623, "ld_beat:chit");
TextDrawLetterSize(TDEditor_TD, 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD, 14.000000, 15.000000);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, 7787775);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 4);
TextDrawSetProportional(TDEditor_TD, 0);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(369.608337, 433.853210, "G");
TextDrawLetterSize(TDEditor_TD, 0.295237, 1.03679😎;
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, 255);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 1);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(38.199954, 427.606567, "...");
TextDrawLetterSize(TDEditor_TD, 0.261332, 1.553066);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, -1);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 2);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(50.771495, 431.226623, "ld_beat:chit");
TextDrawLetterSize(TDEditor_TD, 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD, 14.000000, 15.000000);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, 7787775);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 4);
TextDrawSetProportional(TDEditor_TD, 0);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(53.571395, 434.613403, "ld_chat:badchat");
TextDrawLetterSize(TDEditor_TD, 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD, 8.000000, 8.000000);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, -1);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 4);
TextDrawSetProportional(TDEditor_TD, 0);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(181.047668, 435.359893, "DOBRODOSLI_NA_INDIGO_-_WWW.INDIGOGAMING.EU");
TextDrawLetterSize(TDEditor_TD, 0.120760, 0.699733);
TextDrawAlignment(TDEditor_TD, 2);
TextDrawColor(TDEditor_TD, -1);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 2);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(290.381011, 427.479919, "...");
TextDrawLetterSize(TDEditor_TD, 0.261332, 1.553066);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, -1);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 2);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(429.674316, 431.226623, "ld_beat:chit");
TextDrawLetterSize(TDEditor_TD, 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD, 14.000000, 15.000000);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, 7787775);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 4);
TextDrawSetProportional(TDEditor_TD, 0);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(433.112213, 433.853210, "N");
TextDrawLetterSize(TDEditor_TD, 0.295237, 1.03679😎;
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, 255);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 1);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(527.652404, 427.906585, "...");
TextDrawLetterSize(TDEditor_TD, 0.261332, 1.553066);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, -1);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 2);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(542.076843, 433.126586, "HAPPYHOURS");
TextDrawLetterSize(TDEditor_TD, 0.190476, 0.802133);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, 7787775);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 1);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(595.263854, 433.126586, "HAPPYJOB");
TextDrawLetterSize(TDEditor_TD, 0.190476, 0.802133);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, 7787775);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 1);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(587.084777, 438.400268, "_____SOON");
TextDrawLetterSize(TDEditor_TD, 0.155046, 0.610132);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, -1);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 1);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(599.809326, 6.319912, "OLD ~w~BALKAN");
TextDrawLetterSize(TDEditor_TD, 0.325713, 1.126399);
TextDrawAlignment(TDEditor_TD, 3);
TextDrawColor(TDEditor_TD, 7787775);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 1);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 3);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(540.285644, 14.840018, "YOUR_VISION_START_HERE");
TextDrawLetterSize(TDEditor_TD, 0.090285, 0.550400);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, -1);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 2);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(309.009429, 433.626556, "$");
TextDrawLetterSize(TDEditor_TD, 0.266285, 0.977066);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, 255);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 1);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);
//-------------------------------------------------------------------------//
ZlatoTD = CreatePlayerTextDraw(playerid,406.770751, 434.606567, "99999999999");
PlayerTextDrawLetterSize(playerid,ZlatoTD, 0.113903, 0.746666);
PlayerTextDrawAlignment(playerid,ZlatoTD, 2);
PlayerTextDrawColor(playerid,ZlatoTD, -1);
PlayerTextDrawSetShadow(playerid,ZlatoTD, 0);
PlayerTextDrawSetOutline(playerid,ZlatoTD, 0);
PlayerTextDrawBackgroundColor(playerid,ZlatoTD, 255);
PlayerTextDrawFont(playerid,ZlatoTD, 2);
PlayerTextDrawSetProportional(playerid,ZlatoTD, 1);
PlayerTextDrawSetShadow(playerid,ZlatoTD, 0);
BankaTD = CreatePlayerTextDraw(playerid,344.366943, 434.606567, "99999999999");
PlayerTextDrawLetterSize(playerid,BankaTD, 0.113903, 0.746666);
PlayerTextDrawAlignment(playerid,BankaTD, 2);
PlayerTextDrawColor(playerid,BankaTD, -1);
PlayerTextDrawSetShadow(playerid,BankaTD, 0);
PlayerTextDrawSetOutline(playerid,BankaTD, 0);
PlayerTextDrawBackgroundColor(playerid,BankaTD, 255);
PlayerTextDrawFont(playerid,BankaTD, 2);
PlayerTextDrawSetProportional(playerid,BankaTD, 1);
PlayerTextDrawSetShadow(playerid,BankaTD, 0);
Nicku = CreatePlayerTextDraw(playerid,482.875396, 434.606567, "EKSEPTED_TDEDITORLONE");
PlayerTextDrawLetterSize(playerid,Nicku, 0.113903, 0.746666);
PlayerTextDrawAlignment(playerid,Nicku, 2);
PlayerTextDrawColor(playerid,Nicku, -1);
PlayerTextDrawSetShadow(playerid,Nicku, 0);
PlayerTextDrawSetOutline(playerid,Nicku, 0);
PlayerTextDrawBackgroundColor(playerid,Nicku, 255);
PlayerTextDrawFont(playerid,Nicku, 2);
PlayerTextDrawSetProportional(playerid,Nicku, 1);
PlayerTextDrawSetShadow(playerid,Nicku, 0);
return 1;
}
Pod OnPlayerSpawn imam TextDrawShowForPlayer i PlayerTextDrawShow za one koji nisu globalne evo i to saljem
if(TextDrawGangZone != 1)
{
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,dupliexp);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
PlayerTextDrawShow(playerid,BankaTD);
PlayerTextDrawShow(playerid,ZlatoTD);
PlayerTextDrawShow(playerid,Nicku);
}
[ /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
Zaključano
Pomoc oko textdrawowa
637
pregleda
5
postova
Ova tema je zaključana. Samo moderatori i administratori mogu odgovarati.
pre 5 godina
Pogledaj malo kako show-ujes TD-ove i pod koju funkciju ja ti predlazem napravi jednostavan loop
Npr:
Npr:
for(new i = 0; i <= 24; i++)
{
TextDrawShowForPlayer(playerid,IMETDA);
}
pre 5 godina
eto probaj ovako ako budne isto ond jbg
{
//==========================================================================
TDEditor_TD = TextDrawCreate(-1.276188, 430.181701, "LD_SPAC:white");
TextDrawLetterSize(TDEditor_TD, 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD, 653.000000, 17.000000);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, 673720575);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 4);
TextDrawSetProportional(TDEditor_TD, 0);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(-18.319356, 454.305694, "particle:lamp_shad_64");
TextDrawLetterSize(TDEditor_TD, 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD, 686.000000, -24.000000);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, 7787600);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 4);
TextDrawSetProportional(TDEditor_TD, 0);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(4.585729, 432.393768, "OLD");
TextDrawLetterSize(TDEditor_TD, 0.210283, 0.832000);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, 7787775);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 1);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(2.885730, 438.294128, "BALKAN");
TextDrawLetterSize(TDEditor_TD, 0.210283, 0.832000);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, -1);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 1);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(304.866699, 431.226623, "ld_beat:chit");
TextDrawLetterSize(TDEditor_TD, 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD, 14.000000, 15.000000);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, 7787775);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 4);
TextDrawSetProportional(TDEditor_TD, 0);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(366.470458, 431.226623, "ld_beat:chit");
TextDrawLetterSize(TDEditor_TD, 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD, 14.000000, 15.000000);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, 7787775);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 4);
TextDrawSetProportional(TDEditor_TD, 0);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(369.608337, 433.853210, "G");
TextDrawLetterSize(TDEditor_TD, 0.295237, 1.03679😎;
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, 255);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 1);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(38.199954, 427.606567, "...");
TextDrawLetterSize(TDEditor_TD, 0.261332, 1.553066);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, -1);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 2);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(50.771495, 431.226623, "ld_beat:chit");
TextDrawLetterSize(TDEditor_TD, 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD, 14.000000, 15.000000);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, 7787775);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 4);
TextDrawSetProportional(TDEditor_TD, 0);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(53.571395, 434.613403, "ld_chat:badchat");
TextDrawLetterSize(TDEditor_TD, 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD, 8.000000, 8.000000);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, -1);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 4);
TextDrawSetProportional(TDEditor_TD, 0);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(181.047668, 435.359893, "DOBRODOSLI_NA_INDIGO_-_WWW.INDIGOGAMING.EU");
TextDrawLetterSize(TDEditor_TD, 0.120760, 0.699733);
TextDrawAlignment(TDEditor_TD, 2);
TextDrawColor(TDEditor_TD, -1);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 2);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(290.381011, 427.479919, "...");
TextDrawLetterSize(TDEditor_TD, 0.261332, 1.553066);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, -1);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 2);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(429.674316, 431.226623, "ld_beat:chit");
TextDrawLetterSize(TDEditor_TD, 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD, 14.000000, 15.000000);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, 7787775);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 4);
TextDrawSetProportional(TDEditor_TD, 0);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(433.112213, 433.853210, "N");
TextDrawLetterSize(TDEditor_TD, 0.295237, 1.03679😎;
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, 255);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 1);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(527.652404, 427.906585, "...");
TextDrawLetterSize(TDEditor_TD, 0.261332, 1.553066);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, -1);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 2);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(542.076843, 433.126586, "HAPPYHOURS");
TextDrawLetterSize(TDEditor_TD, 0.190476, 0.802133);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, 7787775);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 1);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(595.263854, 433.126586, "HAPPYJOB");
TextDrawLetterSize(TDEditor_TD, 0.190476, 0.802133);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, 7787775);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 1);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(587.084777, 438.400268, "_____SOON");
TextDrawLetterSize(TDEditor_TD, 0.155046, 0.610132);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, -1);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 1);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(599.809326, 6.319912, "OLD ~w~BALKAN");
TextDrawLetterSize(TDEditor_TD, 0.325713, 1.126399);
TextDrawAlignment(TDEditor_TD, 3);
TextDrawColor(TDEditor_TD, 7787775);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 1);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 3);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(540.285644, 14.840018, "YOUR_VISION_START_HERE");
TextDrawLetterSize(TDEditor_TD, 0.090285, 0.550400);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, -1);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 2);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(309.009429, 433.626556, "$");
TextDrawLetterSize(TDEditor_TD, 0.266285, 0.977066);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, 255);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 1);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);
//-------------------------------------------------------------------------//
ZlatoTD = CreatePlayerTextDraw(playerid,406.770751, 434.606567, "0");
PlayerTextDrawLetterSize(playerid,ZlatoTD, 0.113903, 0.746666);
PlayerTextDrawAlignment(playerid,ZlatoTD, 2);
PlayerTextDrawColor(playerid,ZlatoTD, -1);
PlayerTextDrawSetShadow(playerid,ZlatoTD, 0);
PlayerTextDrawSetOutline(playerid,ZlatoTD, 0);
PlayerTextDrawBackgroundColor(playerid,ZlatoTD, 255);
PlayerTextDrawFont(playerid,ZlatoTD, 2);
PlayerTextDrawSetProportional(playerid,ZlatoTD, 1);
PlayerTextDrawSetShadow(playerid,ZlatoTD, 0);
BankaTD = CreatePlayerTextDraw(playerid,344.366943, 434.606567, "0");
PlayerTextDrawLetterSize(playerid,BankaTD, 0.113903, 0.746666);
PlayerTextDrawAlignment(playerid,BankaTD, 2);
PlayerTextDrawColor(playerid,BankaTD, -1);
PlayerTextDrawSetShadow(playerid,BankaTD, 0);
PlayerTextDrawSetOutline(playerid,BankaTD, 0);
PlayerTextDrawBackgroundColor(playerid,BankaTD, 255);
PlayerTextDrawFont(playerid,BankaTD, 2);
PlayerTextDrawSetProportional(playerid,BankaTD, 1);
PlayerTextDrawSetShadow(playerid,BankaTD, 0);
Nicku = CreatePlayerTextDraw(playerid,482.875396, 434.606567, "EKSEPTED_TDEDITORLONE");
PlayerTextDrawLetterSize(playerid,Nicku, 0.113903, 0.746666);
PlayerTextDrawAlignment(playerid,Nicku, 2);
PlayerTextDrawColor(playerid,Nicku, -1);
PlayerTextDrawSetShadow(playerid,Nicku, 0);
PlayerTextDrawSetOutline(playerid,Nicku, 0);
PlayerTextDrawBackgroundColor(playerid,Nicku, 255);
PlayerTextDrawFont(playerid,Nicku, 2);
PlayerTextDrawSetProportional(playerid,Nicku, 1);
PlayerTextDrawSetShadow(playerid,Nicku, 0);
return 1;
}
Pod OnPlayerSpawn imam TextDrawShowForPlayer i PlayerTextDrawShow za one koji nisu globalne evo i to saljem
if(TextDrawGangZone != 1)
{
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,dupliexp);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
PlayerTextDrawShow(playerid,BankaTD);
PlayerTextDrawShow(playerid,ZlatoTD);
PlayerTextDrawShow(playerid,Nicku);
}
[ /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
{
//==========================================================================
TDEditor_TD = TextDrawCreate(-1.276188, 430.181701, "LD_SPAC:white");
TextDrawLetterSize(TDEditor_TD, 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD, 653.000000, 17.000000);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, 673720575);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 4);
TextDrawSetProportional(TDEditor_TD, 0);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(-18.319356, 454.305694, "particle:lamp_shad_64");
TextDrawLetterSize(TDEditor_TD, 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD, 686.000000, -24.000000);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, 7787600);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 4);
TextDrawSetProportional(TDEditor_TD, 0);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(4.585729, 432.393768, "OLD");
TextDrawLetterSize(TDEditor_TD, 0.210283, 0.832000);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, 7787775);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 1);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(2.885730, 438.294128, "BALKAN");
TextDrawLetterSize(TDEditor_TD, 0.210283, 0.832000);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, -1);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 1);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(304.866699, 431.226623, "ld_beat:chit");
TextDrawLetterSize(TDEditor_TD, 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD, 14.000000, 15.000000);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, 7787775);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 4);
TextDrawSetProportional(TDEditor_TD, 0);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(366.470458, 431.226623, "ld_beat:chit");
TextDrawLetterSize(TDEditor_TD, 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD, 14.000000, 15.000000);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, 7787775);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 4);
TextDrawSetProportional(TDEditor_TD, 0);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(369.608337, 433.853210, "G");
TextDrawLetterSize(TDEditor_TD, 0.295237, 1.03679😎;
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, 255);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 1);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(38.199954, 427.606567, "...");
TextDrawLetterSize(TDEditor_TD, 0.261332, 1.553066);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, -1);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 2);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(50.771495, 431.226623, "ld_beat:chit");
TextDrawLetterSize(TDEditor_TD, 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD, 14.000000, 15.000000);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, 7787775);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 4);
TextDrawSetProportional(TDEditor_TD, 0);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(53.571395, 434.613403, "ld_chat:badchat");
TextDrawLetterSize(TDEditor_TD, 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD, 8.000000, 8.000000);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, -1);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 4);
TextDrawSetProportional(TDEditor_TD, 0);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(181.047668, 435.359893, "DOBRODOSLI_NA_INDIGO_-_WWW.INDIGOGAMING.EU");
TextDrawLetterSize(TDEditor_TD, 0.120760, 0.699733);
TextDrawAlignment(TDEditor_TD, 2);
TextDrawColor(TDEditor_TD, -1);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 2);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(290.381011, 427.479919, "...");
TextDrawLetterSize(TDEditor_TD, 0.261332, 1.553066);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, -1);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 2);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(429.674316, 431.226623, "ld_beat:chit");
TextDrawLetterSize(TDEditor_TD, 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD, 14.000000, 15.000000);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, 7787775);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 4);
TextDrawSetProportional(TDEditor_TD, 0);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(433.112213, 433.853210, "N");
TextDrawLetterSize(TDEditor_TD, 0.295237, 1.03679😎;
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, 255);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 1);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(527.652404, 427.906585, "...");
TextDrawLetterSize(TDEditor_TD, 0.261332, 1.553066);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, -1);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 2);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(542.076843, 433.126586, "HAPPYHOURS");
TextDrawLetterSize(TDEditor_TD, 0.190476, 0.802133);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, 7787775);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 1);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(595.263854, 433.126586, "HAPPYJOB");
TextDrawLetterSize(TDEditor_TD, 0.190476, 0.802133);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, 7787775);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 1);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(587.084777, 438.400268, "_____SOON");
TextDrawLetterSize(TDEditor_TD, 0.155046, 0.610132);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, -1);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 1);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(599.809326, 6.319912, "OLD ~w~BALKAN");
TextDrawLetterSize(TDEditor_TD, 0.325713, 1.126399);
TextDrawAlignment(TDEditor_TD, 3);
TextDrawColor(TDEditor_TD, 7787775);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 1);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 3);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(540.285644, 14.840018, "YOUR_VISION_START_HERE");
TextDrawLetterSize(TDEditor_TD, 0.090285, 0.550400);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, -1);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 2);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(309.009429, 433.626556, "$");
TextDrawLetterSize(TDEditor_TD, 0.266285, 0.977066);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, 255);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 1);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);
//-------------------------------------------------------------------------//
ZlatoTD = CreatePlayerTextDraw(playerid,406.770751, 434.606567, "0");
PlayerTextDrawLetterSize(playerid,ZlatoTD, 0.113903, 0.746666);
PlayerTextDrawAlignment(playerid,ZlatoTD, 2);
PlayerTextDrawColor(playerid,ZlatoTD, -1);
PlayerTextDrawSetShadow(playerid,ZlatoTD, 0);
PlayerTextDrawSetOutline(playerid,ZlatoTD, 0);
PlayerTextDrawBackgroundColor(playerid,ZlatoTD, 255);
PlayerTextDrawFont(playerid,ZlatoTD, 2);
PlayerTextDrawSetProportional(playerid,ZlatoTD, 1);
PlayerTextDrawSetShadow(playerid,ZlatoTD, 0);
BankaTD = CreatePlayerTextDraw(playerid,344.366943, 434.606567, "0");
PlayerTextDrawLetterSize(playerid,BankaTD, 0.113903, 0.746666);
PlayerTextDrawAlignment(playerid,BankaTD, 2);
PlayerTextDrawColor(playerid,BankaTD, -1);
PlayerTextDrawSetShadow(playerid,BankaTD, 0);
PlayerTextDrawSetOutline(playerid,BankaTD, 0);
PlayerTextDrawBackgroundColor(playerid,BankaTD, 255);
PlayerTextDrawFont(playerid,BankaTD, 2);
PlayerTextDrawSetProportional(playerid,BankaTD, 1);
PlayerTextDrawSetShadow(playerid,BankaTD, 0);
Nicku = CreatePlayerTextDraw(playerid,482.875396, 434.606567, "EKSEPTED_TDEDITORLONE");
PlayerTextDrawLetterSize(playerid,Nicku, 0.113903, 0.746666);
PlayerTextDrawAlignment(playerid,Nicku, 2);
PlayerTextDrawColor(playerid,Nicku, -1);
PlayerTextDrawSetShadow(playerid,Nicku, 0);
PlayerTextDrawSetOutline(playerid,Nicku, 0);
PlayerTextDrawBackgroundColor(playerid,Nicku, 255);
PlayerTextDrawFont(playerid,Nicku, 2);
PlayerTextDrawSetProportional(playerid,Nicku, 1);
PlayerTextDrawSetShadow(playerid,Nicku, 0);
return 1;
}
Pod OnPlayerSpawn imam TextDrawShowForPlayer i PlayerTextDrawShow za one koji nisu globalne evo i to saljem
if(TextDrawGangZone != 1)
{
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,dupliexp);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
TextDrawShowForPlayer(playerid,TDEditor_TD);
PlayerTextDrawShow(playerid,BankaTD);
PlayerTextDrawShow(playerid,ZlatoTD);
PlayerTextDrawShow(playerid,Nicku);
}
[ /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
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava