29.03.2010, 09:02
So where must i put this for vehicle auto repair?
and also when i type /setcarhealth it shows me "Your vehicle has been fixed" and SERVER:Unknown command WHYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
Код:
new vehicleid = GetPlayerVehicleID(playerid); new Float:VehHealth; GetVehicleHealth(vehicleid,VehHealth); if(VehHealth <= 50) return RepairVehicle(GetPlayerVehicleID(playerid)); PlayerPlaySound(playerid, 1056, 0.0,0.0, 0.0); SendClientMessage(playerid, COLOR_KRED, "Your vehicle has been fixed");