24.09.2009, 18:24
How to check if is the first time the player enters in the server?
new entrance[MAX_PLAYERS];
if(entrance[playerid] == 0) { // do something entrance[playerid] = 1; } else if(entrance[playerid] == 1) { // do sumthng. } return 1; }
entrace[playerid] = 1;
new Data[256]; format(Data, 255, "Entrance/%s.ini", pName(playerid)); dini_IntSet(Data, "Entrance", entrance[playerid]);