CMD:makeadmin(playerid,params[]) returns 0 and doesnt do anything
#8

Try:
pawn Код:
if(!IsPlayerAdmin(playerid) || PlayerInfo[playerid][pAdminLevel] <= 0) return 1;
If not, try:
pawn Код:
if(!IsPlayerAdmin(playerid) && PlayerInfo[playerid][pAdminLevel] <= 0) return 1;
Never return 0; in a command like this, always return 1.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)