17.11.2012, 16:05
Hey guys, I'm not sure but in RP servers there's like that kind of things in the public function, OnPlayerConnect. What is that for? Reset the stats of the player? I'm not sure, I'd like an answer.
pawn Код:
public OnPlayerConnect(playerid)
{
PlayerInfo[playerid][pCash] = 0;
PlayerInfo[playerid][pAdmin] = 0;
return 1;
}