Blow Up Car
#7

Danut, i think he want the health at 30 only so when he exits car, it will still explode.
So:
pawn Код:
if(strcmp(cmd, "/blowup", true) == 0)
{
  if(!IsPlayerInAnyVehicle(playerid))
  {
    SendClientMessage(playerid,COLOR_WHITE," You must be in a CAR !");
    return 1;
  }
  SetVehicleHealth(GetPlayerVehicleID(playerid),30);//to explode it after 5 seconds
  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: 2 Guest(s)