11.04.2010, 17:37
Hello,
I have in my server this Script for Fix:
But when i repair The health goes to 1000.
But the car will not repair
Screenshot:
Check that thing right on the bottom
and check the car...
i Dont know whats wrong..
Help Please?
I have in my server this Script for Fix:
Код:
// ------ fix ----------------------------------------------------------------- dcmd_fix(playerid, params[]) { #pragma unused params if(IsPlayerInAnyVehicle(playerid)) { SetVehicleHealth(GetPlayerVehicleID(playerid),1000.0); SendClientMessageLang(playerid, COLOR_ORANGE,"Vehicle fixed.","Voertuig Gerepareerd."); } else { SendClientMessageLang(playerid, COLOR_WARN,"You must be in vehicle!","Je moet in een voertuig zitten!"); } return 1; } dcmd_repair(playerid, params[]) { dcmd_fix(playerid, params); return 1; }
But the car will not repair
Screenshot:
Check that thing right on the bottom
and check the car...
i Dont know whats wrong..
Help Please?