new PlayerDeaths[MAX_PLAYERS] rep ++
#6

Okay so MAX_PLAYERS I understood.
This part from your previous reply.I didn't get it.

"The current way the value will reset on server restart and needs to be de reset everytime a player disconnects or joins.
Код:
pu"blic OnPlayerConnect(playerid)
{
     PlayerDeaths[playerid] = 0;
     PlayerKills[playerid] = 0;
     return 1;
}
Does this mean if I put this code in my GM my stats will be reset to 0 each time I login?Even if my username is same and registered?
Reply


Messages In This Thread
new PlayerDeaths[MAX_PLAYERS] rep ++ - by NviDa - 28.12.2014, 14:32
Re: new PlayerDeaths[MAX_PLAYERS] rep ++ - by UltraScripter - 28.12.2014, 14:36
Re: new PlayerDeaths[MAX_PLAYERS] rep ++ - by Facerafter - 28.12.2014, 14:37
Re: new PlayerDeaths[MAX_PLAYERS] rep ++ - by NviDa - 28.12.2014, 14:45
Re: new PlayerDeaths[MAX_PLAYERS] rep ++ - by Facerafter - 28.12.2014, 14:50
Re: new PlayerDeaths[MAX_PLAYERS] rep ++ - by NviDa - 28.12.2014, 14:56
Re: new PlayerDeaths[MAX_PLAYERS] rep ++ - by UltraScripter - 28.12.2014, 15:00
Re: new PlayerDeaths[MAX_PLAYERS] rep ++ - by Facerafter - 28.12.2014, 15:02

Forum Jump:


Users browsing this thread: 1 Guest(s)