30.10.2014, 12:14
change it to :
pawn Код:
new wantedid[MAX_PLAYERS],ticketid[MAX_PLAYERS] // declare this on top of your script not inside your public OnPlayerUpdate2() (remove the variable wantedid and the ticketid cuz u already have a gloval var wantedid[MAX_PLAYERS] and ticketid[MAX_PLAYERS]
// and reset it everytime player disconnects
public OnPlayerDisconnect(playerid, reason)
{
wantedid[playerid]=0;
ticketid[playerid]=0;
}