01.02.2014, 21:43
Quote:
That wouldn't actually work, I would only do nothing if the player that disconnects is in the front passenger, if you use
Код:
public OnPlayerDisconnect(playerid, reason) { for(new i = 0; i < MAX_PLAYERS; i++) if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER) { SetVehicleToRespawn(GetPlayerVehicleID(playerid)); } else { //Do Nothing } return 1; } |