Easy cmd help
#2

pawn Код:
if (strcmp("/fix", cmdtext, true, 4) == 0)
    {
        if(Player[playerid][pAdmin] >= 1)
        {
        if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_YELLOW,"You are not driving any car");
        RepairVehicle(GetPlayerVehicleID);
        }
        else
        {
        SendClientMessage(playerid,COLOR_RED,"You are not allowed to use this command");
        }
        return 1;
    }
Reply


Messages In This Thread
Easy cmd help - by Gogeta101 - 22.08.2014, 21:07
Re: Easy cmd help - by Thogy - 22.08.2014, 21:14
Re: Easy cmd help - by AchievementMaster360 - 22.08.2014, 21:20
Re: Easy cmd help - by Gogeta101 - 22.08.2014, 21:21
Re: Easy cmd help - by nmader - 22.08.2014, 21:24

Forum Jump:


Users browsing this thread: 1 Guest(s)