07.07.2010, 17:06
Put a line in OnPlayerDisconnect(playerid) that destroys the vehicle if they crash / quit
also maybe a line in OnPlayerChangeState that checks if oldstate == PLAYER_STATE_DRIVER and newstate == PLAYER_STATE_ONFOOT, and destroy the car then.
etc.
You have to cover every possible outcome.
also maybe a line in OnPlayerChangeState that checks if oldstate == PLAYER_STATE_DRIVER and newstate == PLAYER_STATE_ONFOOT, and destroy the car then.
etc.
You have to cover every possible outcome.