Command Help
#3

PHP код:
CMD:setcarhp(playeridparams[])
{
    new 
HP;
    if(
sscanf(params"d"HP)) return SendClientMessage(playeridCOLOR_ORANGE"USAGE: /HP [value 1 - 100]");
    new 
vehicleid GetPlayerVehicleID(playerid);
    
SetVehicleHealth(vehicleidHP);
    
SendClientMessage(playeridCOLOUR_ORANGE"The vehicles engine has been fully repaired.");
    return 
1;

here is your cmd not tested yet
Reply


Messages In This Thread
Command Help - by JordanSmith - 02.04.2014, 16:16
Re: Command Help - by Bingo - 02.04.2014, 16:26
Re: Command Help - by MBilal - 02.04.2014, 16:32
Re: Command Help - by JordanSmith - 02.04.2014, 16:43

Forum Jump:


Users browsing this thread: 1 Guest(s)