Help CMD repair
#5

Quote:
Originally Posted by RyderX
Посмотреть сообщение
PHP код:
CMD:repair(playerid,params[])
{
    new 
Float:health;
    new 
veh GetPlayerVehicleID(playerid);
    
GetVehicleHealth(vehhealth);
    if(
health 500) return SendClientMessage(playerid,-1"Vehicle doesn't need repairing!");
    
SetVehicleHealth(veh1000);
    
SendClientMessage(playerid,-1"Vehicle repaired!");

Code is unfinished, instead of this one try to solve his problem!
Reply


Messages In This Thread
Help CMD repair - by AlexPalermitano97 - 16.03.2017, 17:43
Re: Help CMD repair - by GoldenLion - 16.03.2017, 18:13
Re: Help CMD repair - by AlexPalermitano97 - 16.03.2017, 19:06
Re: Help CMD repair - by RyderX - 16.03.2017, 19:09
Re: Help CMD repair - by Bolex_ - 16.03.2017, 19:11
Re: Help CMD repair - by Toroi - 16.03.2017, 19:24
Re: Help CMD repair - by AlexPalermitano97 - 16.03.2017, 19:25
Re: Help CMD repair - by Toroi - 16.03.2017, 19:28
Re: Help CMD repair - by AlexPalermitano97 - 16.03.2017, 19:59
Re: Help CMD repair - by AlexPalermitano97 - 16.03.2017, 20:02

Forum Jump:


Users browsing this thread: 5 Guest(s)