30.05.2016, 11:09
https://sampforum.blast.hk/showthread.php?tid=195395
https://sampforum.blast.hk/showthread.php?tid=290735
https://sampwiki.blast.hk/wiki/Loops
https://sampforum.blast.hk/showthread.php?tid=290735
https://sampwiki.blast.hk/wiki/Loops
PHP код:
public OnGameModeExit()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i)) // ou uma variavel if(logado[i] == true)
//Similar a OnPlayerDisconnect.
//SalvarDados(i);
}
return 1;
}