/refuelcars
#2

Out of curiosity, you have more then one admin rank correct?

If so, you only have it set to accept the command if the admins level is 1, try this?

Код:
cmd:refuelcars(playerid, params[])
{
    if(PlayerInfo[playerid][pAdmin] >= 1)
    {
        VehicleInfo[i][pvFuel] = 100.0;
        SendClientMessageToAll(COLOR_BLUE,"SERVER: All cars have been refilled!");
        SendClientMessageEx(playerid, COLOR_LIGHTBLUE,"You have refilled all cars!");
    }
    else return SendClientMessageEx(playerid, COLOR_GRAD1, "You are not authorized to use that command!");
    return 1;
}
Reply


Messages In This Thread
/refuelcars - by ryanhawk31 - 08.05.2013, 18:14
Re: /refuelcars - by BenTaylorUK - 08.05.2013, 18:21
Re : /refuelcars - by DaTa[X] - 08.05.2013, 18:23

Forum Jump:


Users browsing this thread: 3 Guest(s)