"UpdateVehicleDamageStatus();" To blow car parts off?
#3

Try this:

pawn Код:
new panels, doors, lights, tires;
And the command

pawn Код:
if (strcmp("/door", cmdtext, true, 10) == 0)
{
   
        UpdateVehicleDamageStatus(vehicleid, panels, 1, lights, tires); //1 should work
        return 1;
}
Just edit whats in the parenthesese. I recommend since I don't have much knowledge with this I would test around and put in some numbers in the door part. For full popped wheels is 15.
Reply


Messages In This Thread
"UpdateVehicleDamageStatus();" To blow car parts off? - by Majataka - 09.07.2010, 13:30
Re: "UpdateVehicleDamageStatus();" To blow car parts off? - by Hiddos - 09.07.2010, 13:34
Re: "UpdateVehicleDamageStatus();" To blow car parts off? - by ToPhrESH - 09.07.2010, 13:37
Re: "UpdateVehicleDamageStatus();" To blow car parts off? - by jonrb - 09.07.2010, 17:50
Re: "UpdateVehicleDamageStatus();" To blow car parts off? - by Micko9 - 09.07.2010, 18:49

Forum Jump:


Users browsing this thread: 2 Guest(s)