/repair command
#10

add dcmd(repair,6,cmdtext); under dcmd(refuel,6,cmdtext);.

Paste this at the bottom of your script:

pawn Код:
dcmd_repair(playerid, params[])
{
    #pragma unused params
    if(IsPlayerInAnyVehicle(playerid))
    {
        RepairVehicle(GetPlayerVehicleID(playerid));
        SendClientMessage(playerid,0xFFFF00AA,"Server: Your Vehicle Has Been Repaired!");
    }
    return 1;
}
Reply


Messages In This Thread
/repair command - by sscarface - 23.04.2012, 23:49
Re: /repair command - by 2KY - 23.04.2012, 23:52
Re: /repair command - by sscarface - 23.04.2012, 23:56
Re: /repair command - by 2KY - 23.04.2012, 23:59
Re: /repair command - by sscarface - 24.04.2012, 00:00
Re: /repair command - by sscarface - 24.04.2012, 00:02
Re: /repair command - by 2KY - 24.04.2012, 00:02
Re: /repair command - by sscarface - 24.04.2012, 00:10
Re: /repair command - by diego_p11 - 24.04.2012, 02:09
Re: /repair command - by Yuryfury - 24.04.2012, 03:20

Forum Jump:


Users browsing this thread: 1 Guest(s)