25.12.2013, 02:34
You could always make a variable...
If the player then they can't be in a vehicle pretty simple.
pawn Код:
#define IsPlayerDead(%0) PlayerIsDead[%0]
new bool:PlayerIsDead[MAX_PLAYERS];
OnPlayerDeath - PlayerIsDead[playerid] = true;
OnPlayerSpawn - PlayerIsDead[playerid] = false;
OnPlayerDisconnect - PlayerIsDead[playerid] = false;