09.07.2010, 13:37
Try this:
And the command
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.
pawn Код:
new panels, doors, lights, tires;
pawn Код:
if (strcmp("/door", cmdtext, true, 10) == 0)
{
UpdateVehicleDamageStatus(vehicleid, panels, 1, lights, tires); //1 should work
return 1;
}