30.09.2013, 12:50
hi guyz this is my repair Code i need help with that player abuse it so much can any budy tell me how to set timer on it
plz
Thanks
plz
Code:
if(IsPlayerInAnyVehicle(playerid)) { if(newkeys & KEY_ANALOG_UP) // NumPad 8 { new vehicleid = GetPlayerVehicleID(playerid); SetVehicleHealth(vehicleid, 1000.0); RepairVehicle(GetPlayerVehicleID(playerid)); SendClientMessage(playerid, 0x800080FF, "[ Server ] Vehicle repaired."); return 1; }