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

pawn Код:
if(!IsPlayerAdmin(playerid) || PlayerInfo[playerid][pAdminLevel] <= 0)
I have tried doing something quite similar to the code above, but what seems to happen is that none of the code on that line actually works at all.

I noticed you were running an admin-check twice, you only need to do it once.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)