Quote:
Originally Posted by jlalt
on player connect add:
PHP код:
pInfo[playerid][Adminlevel] = 0;
pInfo[playerid][VIPlevel] = 0;
pInfo[playerid][Testerlevel] = 0;
pInfo[playerid][Money] = 0;
pInfo[playerid][Scores] = 0;
pInfo[playerid][Kills] = 0;
pInfo[playerid][Deaths] = 0;
pInfo[playerid][pBanned] = 0;
pInfo[playerid][BannedIP] = 0;
|
That's the long way and this is the faster way and the annoying thing is you have to add every time you add something inside the enumerator.
pawn Код:
new
resetpInfo[PlayerInfo];
pInfo[playerid] = resetpInfo;
This resets everything inside the enumerator.