18.11.2010, 14:58
When there are 2(or more) players on server, when anyone tries to register it comes to Time for RPTest, and then the id 0 gets to complete it, and both get stuck.
Any solutions please?
code:
PlayerInfo[playerid][pAge] = check;
format(string, sizeof(string), "Ok, so you are %d year old.",PlayerInfo[playerid][pAge]);
SendClientMessage(playerid, COLOR_YELLOW2, string);
SendClientMessage(playerid, COLOR_WHITE, "Time for RP test.");
SetTimer("Rptest", 2000, 0);
return 0;
}
return 0;
}
Any solutions please?
code:
PlayerInfo[playerid][pAge] = check;
format(string, sizeof(string), "Ok, so you are %d year old.",PlayerInfo[playerid][pAge]);
SendClientMessage(playerid, COLOR_YELLOW2, string);
SendClientMessage(playerid, COLOR_WHITE, "Time for RP test.");
SetTimer("Rptest", 2000, 0);
return 0;
}
return 0;
}