25.12.2013, 17:29
Boas, tenho os seguintes problemas...
http://i.imgur.com/VvEmwGC.png
Os stats (level, exp, kill's etc etc..) passado uns minutos de o server estar ligado, ele desaparece... E gostaria que nгo desaparece se...
E ao aplicar os carros, eles comeзam a spawnar uns por cima dos outros..
http://i.imgur.com/VvEmwGC.png
Os stats (level, exp, kill's etc etc..) passado uns minutos de o server estar ligado, ele desaparece... E gostaria que nгo desaparece se...
E ao aplicar os carros, eles comeзam a spawnar uns por cima dos outros..
Код:
Sobre os carros: public OnGameModeInit() { AddStaticVehicleEx(411,1359.6999500,-1485.6999500,13.3000000,70.0000000,114,42,180); } return 1;
Код:
Sobre o Stats: stock TextDraws(playerid) { new val[256]; new fich[256]; ficheiro(fich); TextDrawHideForPlayer(playerid, TD[playerid][Textdraw0]); TextDrawHideForPlayer(playerid, TD[playerid][Textdraw2]); TextDrawHideForPlayer(playerid, TD[playerid][Textdraw4]); TextDrawHideForPlayer(playerid, TD[playerid][Textdraw6]); TextDrawHideForPlayer(playerid, TD[playerid][Textdraw8]); format(val, sizeof(val), "Kills:~r~%d", d[playerid][kills]); TD[playerid][Textdraw0] = TextDrawCreate(70.000000, 436.000000, val); TextDrawBackgroundColor(TD[playerid][Textdraw0], 255); TextDrawFont(TD[playerid][Textdraw0], 2); TextDrawLetterSize(TD[playerid][Textdraw0], 0.330000, 1.300000); TextDrawColor(TD[playerid][Textdraw0], -1); TextDrawSetOutline(TD[playerid][Textdraw0], 0); TextDrawSetProportional(TD[playerid][Textdraw0], 1); TextDrawSetShadow(TD[playerid][Textdraw0], 1); format(val, sizeof(val), "Deaths:~r~%d", d[playerid][deaths]); TD[playerid][Textdraw2] = TextDrawCreate(160.000000, 436.000000, val); TextDrawBackgroundColor(TD[playerid][Textdraw2], 255); TextDrawFont(TD[playerid][Textdraw2], 2); TextDrawLetterSize(TD[playerid][Textdraw2], 0.330000, 1.300000); TextDrawColor(TD[playerid][Textdraw2], -1); TextDrawSetOutline(TD[playerid][Textdraw2], 0); TextDrawSetProportional(TD[playerid][Textdraw2], 1); TextDrawSetShadow(TD[playerid][Textdraw2], 1); format(val, sizeof(val), "Exp:~r~%d", d[playerid][exp]); TD[playerid][Textdraw4] = TextDrawCreate(270.000000, 436.000000, val); TextDrawBackgroundColor(TD[playerid][Textdraw4], 255); TextDrawFont(TD[playerid][Textdraw4], 2); TextDrawLetterSize(TD[playerid][Textdraw4], 0.330000, 1.300000); TextDrawColor(TD[playerid][Textdraw4], -1); TextDrawSetOutline(TD[playerid][Textdraw4], 0); TextDrawSetProportional(TD[playerid][Textdraw4], 1); TextDrawSetShadow(TD[playerid][Textdraw4], 1); format(val, sizeof(val), "Level:~r~%d", d[playerid][nivel]); TD[playerid][Textdraw6] = TextDrawCreate(350.000000, 436.000000, val); TextDrawBackgroundColor(TD[playerid][Textdraw6], 255); TextDrawFont(TD[playerid][Textdraw6], 2); TextDrawLetterSize(TD[playerid][Textdraw6], 0.330000, 1.300000); TextDrawColor(TD[playerid][Textdraw6], -1); TextDrawSetOutline(TD[playerid][Textdraw6], 0); TextDrawSetProportional(TD[playerid][Textdraw6], 1); TextDrawSetShadow(TD[playerid][Textdraw6], 1); format(val, sizeof(val), "ID:~r~%d", playerid); TD[playerid][Textdraw8] = TextDrawCreate(450.000000, 436.000000, val); TextDrawBackgroundColor(TD[playerid][Textdraw8], 255); TextDrawFont(TD[playerid][Textdraw8], 2); TextDrawLetterSize(TD[playerid][Textdraw8], 0.330000, 1.300000); TextDrawColor(TD[playerid][Textdraw8], -1); TextDrawSetOutline(TD[playerid][Textdraw8], 0); TextDrawSetProportional(TD[playerid][Textdraw8], 1); TextDrawSetShadow(TD[playerid][Textdraw8], 1); TextDrawShowForPlayer(playerid, TD[playerid][Textdraw0]); TextDrawShowForPlayer(playerid, TD[playerid][Textdraw2]); TextDrawShowForPlayer(playerid, TD[playerid][Textdraw4]); TextDrawShowForPlayer(playerid, TD[playerid][Textdraw6]); TextDrawShowForPlayer(playerid, TD[playerid][Textdraw8]); return 1; }