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


Messages In This Thread
Issue with vehicle panels/repair (minor question) - by Dokins - 23.04.2016, 14:35
Re: Issue with vehicle panels/repair (minor question) - by povargek - 23.04.2016, 15:54

Forum Jump:


Users browsing this thread: 1 Guest(s)