23.05.2013, 03:31
pawn Код:
public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid)
{
new playerState = GetPlayerState(playerid);
if (playerState == PLAYER_STATE_PASSENGER || playerState == PLAYER_STATE_DRIVER)
{
RemovePlayerFromVehicle(playerid);
}
return 1;
}