29.06.2014, 17:09
Hello everyone!
I was just wondering whether I'm properly reseting player variables in order to avoid new registered player getting previous player stats who had the same played ID . Also is there way to improve this code ?
I was just wondering whether I'm properly reseting player variables in order to avoid new registered player getting previous player stats who had the same played ID . Also is there way to improve this code ?
pawn Code:
public OnPlayerConnect(playerid)
{
ResVars(playerid);
return 1;
}
stock ResVars(playerid)
{
level[playerid] = 0.
//and so on
return 1;
}