[Help] Stats
#2

Reset the stats when a player disconnects. When a new player (who has no stat records joins) the stats from the old player are now written to the new one.

PHP код:
public OnPlayerDisconnect(playeridreason)
{
PlayerInfo[playerid][pKills] = 0;
//etc...
    
return 1;

Reply


Messages In This Thread
[Help] Stats - by NeamPojma - 23.06.2015, 11:35
Re: [Help] Stats - by shadowdog - 23.06.2015, 12:41

Forum Jump:


Users browsing this thread: 1 Guest(s)