30.06.2017, 17:40
їComo podrнa hacer un loop o alguna otra forma de utilizar playerid en CallBacks que no tengan playerid en su estructura?
for(new i; i < MAX_PLAYERS; i++) { // i = playerid /* Cуdigo */ }
public OnGameModeExit()
{
foreach(new i : Player)
{
if(IsPlayerConnected(i))
{
OnPlayerDisconnect(i, 1);
}
}
return 1;
}