27.05.2013, 12:14
I have a RP server and it dosent have system that when the car is heavy damaged it say car totaled , Can someone give me a FS or tell me how to do it ?
public OnVehicleDamageStatusUpdate(vehicleid,playerid) { if(GetVehicleHealth(vehicleid) < 400) { SetVehicleParamsEx(vehicleid,0,0,0,0,0,0,0); //Turns Engine and Lights off. SendClientMessage(playerid,0xFF0000FF,"Your vehicle is totally damaged, it wont work from now on."); } return 1; }