08.05.2013, 18:21
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?
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; }