Blow Up Car
#6

Quote:
Originally Posted by KyleLyndonSmith
Hi there, i need it so the car will blow up wen i type /blowcar ad i need it it will blow up wen im in the car and i exit i still want the car to blow up
Can you talk in English ?

pawn Код:
if(strcmp(cmd, "/blowup", true) == 0)
{
  if(IsPlayerInAnyVehicle(playerid))
  {
    RemovePlayerFromVehicle(playerid);
    TogglePlayerControllable(playerid,1);
    SetVehicleHealth(GetPlayerVehicleID(playerid),30);//to explode it after 5 seconds
  }
  else
  {
     SendClientMessage(playerid,COLOR_WHITE," You must be in a CAR !");
     return 1;
  }
}
Reply


Messages In This Thread
Blow Up Car - by KyleLyndonSmith - 01.03.2009, 10:04
Re: Blow Up Car - by MenaceX^ - 01.03.2009, 10:08
Re: Blow Up Car - by Rks25 - 01.03.2009, 10:11
Re: Blow Up Car - by Rks25 - 01.03.2009, 12:43
Re: Blow Up Car - by Robbin237 - 01.03.2009, 13:44
Re: Blow Up Car - by Danut - 01.03.2009, 14:04
Re: Blow Up Car - by Rks25 - 01.03.2009, 14:12

Forum Jump:


Users browsing this thread: 1 Guest(s)