15.12.2012, 05:10
Quote:
PUBLIC:vr(playerid, vehicleid) { new Float ![]() GetVehiclePos(vehicleid, x,y,z); if(IsPlayerInRangeOfPoint(playerid, 3.0,x,y,z)) { new Float:health; GetVehicleHealth(vehicleid, health); if(health < 100) { SetVehicleHealth(vehicleid, health+15); }else { SetVehicleHealth(vehicleid, 100.0); KillTimer(Timer1[playerid]); SendClientMessage(playerid, COLOR_RED,"[ERROR] Vehicle is repaired"); } } return 1; } |
And lol'ed.