28.07.2015, 03:59
Quote:
PHP код:
|
PHP код:
public OnPlayerDisconnect(playerid, reason)
{
SalvarPlayer(playerid);
return 1;
}
public OnGameModeExit()
{
for(new i = 0; i < MAX_PLAYERS; i++) SalvarPlayer(i);
DOF2_Exit();
return 1;
}
SalvarPlayer(playerid)
{
DOF2_SaveFile(); //Coloque no Final
return 1;
}