Issue with vehicle panels/repair (minor question)
#1

pawn Код:
new panels, doors, lights, tires;
            GetVehicleDamageStatus(vehicleid, panels, doors, lights, tires);
            if(panels != 0 || doors != 0 || lights != 0 || tires != 0)
            {
                RepairVehicle(vehicleid);
            }
It doesn't seem to detect any damage to the panels correctly and doesn't repair it?

Am I using this correctly?
Reply
#2

You can use a UpdateVehicleDamageStatus
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)