playeradmin help
#1

pawn Код:
if(IsPlayerAdmin(playerid) || AccountInfo[playerid][AdminLevel] >= 1)
The Problem I have is that admins that are greater than level 1 can not use this function. I Don't know whats wrong here. I have 4 levels for admin Level 1 , 2 ,3 and 4
Reply
#2

bump
Reply
#3

try this

Код:
if(PlayerInfo[playerid][Level] >= 1 || IsPlayerAdmin(playerid))
this is hole variable

Код:
if(PlayerInfo[playerid][LoggedIn] != 1) return SendClientMessage(playerid, COLOR_RED, "You must be logged to use that command");
if(PlayerInfo[playerid][Level] >= 1 || IsPlayerAdmin(playerid))
try it it not tested
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)