Dio skripte: [ pawn ]
public plata()
{
for (new i = 0; i < MAX_PLAYERS; i++)
{
new string;
if(PlayerInfo == 0)
{
PlayerInfo += 900;
SendClientMessage(i, SVETLOZELENA, "|___ IZJAVA BANKE ___|");
format(string, sizeof(string), " Plata: $1000 Takse: -$100");
SendClientMessage(i, BELA, string);
format(string, sizeof(string), " Staro stanje: $%d", PlayerInfo - 900);
SendClientMessage(i, BELA, string);
format(string, sizeof(string), " Novo stanje: $%d", PlayerInfo);
SendClientMessage(i, GRAD1, string);
SendClientMessage(i, SVETLOZELENA, "|____________________|");
}
else
{
SCM(i,-1,"{FF0000}Niste primili platu zato sto niste otvorili racun u Banci(/gps>Banka>/otvoriracun)");
}
if(PlayerInfo != 0)
{
if(PlayerInfo != 0)
{
PlayerInfo -= 1;
}
}
PlayerInfo += 1;
PlayerInfo += 1;
}
return 1;
}[ /pawn ]Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): [ code ]//[ /code ]
Slika/video ingame problema(obavezno ako je ingame problem): //