25.01.2013, 22:22
I have in my script:
But none of the places are shown as damaged? EG the doors aren't being damaged and things.
What do I need to do to set them to damage?
Thanks.
pawn Код:
mysql_fetch_field_row(data_value, "vPanels"); Vehicles[vCarID][vPanels] = strval(data_value);
mysql_fetch_field_row(data_value, "vDoors"); Vehicles[vCarID][vDoors] = strval(data_value);
mysql_fetch_field_row(data_value, "vLights"); Vehicles[vCarID][vLights] = strval(data_value);
mysql_fetch_field_row(data_value, "vTires"); Vehicles[vCarID][vTires] = strval(data_value);
UpdateVehicleDamageStatus(vCarID, Vehicles[vCarID][vPanels], Vehicles[vCarID][vDoors], Vehicles[vCarID][vLights], Vehicles[vCarID][vTires]);
What do I need to do to set them to damage?
Thanks.