Removing a vehicle
#3

Quote:
Originally Posted by iPLEOMAX
Посмотреть сообщение
Hard to understand.. but..

pawn Код:
//Use this to delete the current car:
DestroyVehicle( GetPlayerVehicleID(playerid) );

//Use this protection if player is already in a car:
if (IsPlayerInAnyVehicle(playerid)) return SendClientMessage(pllayerid, 0xFF0000FF, "You already have a vehicle!");
If someone use a command with that code the car can be destroyed.
Reply


Messages In This Thread
Removing a vehicle - by Snowman12 - 02.08.2011, 11:56
Re: Removing a vehicle - by iPLEOMAX - 02.08.2011, 12:15
Re: Removing a vehicle - by TheArcher - 02.08.2011, 12:18
Re: Removing a vehicle - by Snowman12 - 02.08.2011, 12:19
Re: Removing a vehicle - by shaikh007 - 02.08.2011, 12:21
Re: Removing a vehicle - by iPLEOMAX - 02.08.2011, 12:28
Re: Removing a vehicle - by Snowman12 - 02.08.2011, 12:33
Re: Removing a vehicle - by Snowman12 - 02.08.2011, 12:44
Re: Removing a vehicle - by iPLEOMAX - 02.08.2011, 12:56
Re: Removing a vehicle - by iPLEOMAX - 02.08.2011, 13:21
Re: Removing a vehicle - by Snowman12 - 02.08.2011, 13:27

Forum Jump:


Users browsing this thread: 2 Guest(s)