Destroyveh command
#2

To destroy the vehicle the player is in?

pawn Код:
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
DestroyVehicle(GetPlayerVehicleID(playerid);
}
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.
Reply


Messages In This Thread
Destroyveh command - by Marcus Drake - 03.05.2009, 21:12
Re: Destroyveh command - by Weirdosport - 03.05.2009, 21:28
Re: Destroyveh command - by Marcus Drake - 04.05.2009, 11:10
Re: Destroyveh command - by HB - 04.05.2009, 12:20

Forum Jump:


Users browsing this thread: 1 Guest(s)