03.05.2009, 21:28
To destroy the vehicle the player is in?
This is very basic, and will only work with CreateVehicle vehicles. It will not destroy AddStaticVehicle vehicles.
NOTE: I made this here, I wouldn't be surprised if there was a spelling mistake.
pawn Код:
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
DestroyVehicle(GetPlayerVehicleID(playerid);
}
NOTE: I made this here, I wouldn't be surprised if there was a spelling mistake.