admin System Help
#1

Hi alls.I Used Kick Cmd On My Admin System.How To Fix It To Example Admin Rank 4 Cant Kick Admin Rank 9 ?
(Admins Cant Kick Higher Rank( Rank 9 And 10)
I Use This But Not Work.Pls Fix It TnX + ReP
Код:
if(Account[player][pAdminlevel]>=8){
  SendClientMessage(playerid, COLOR_RED, "You Cant Kick Rank 9 And 10!");}
Reply
#2

Код:
if(Account[target][Admin] > Account[playerid][ADmin]) return SendClientMessage(playerid, 0xFF0000AA, "You can't kick higher level admin.");
Reply
#3

Quote:
Originally Posted by LocMax
Посмотреть сообщение
Код:
if(Account[target][Admin] > Account[playerid][ADmin]) return SendClientMessage(playerid, 0xFF0000AA, "You can't kick higher level admin.");
error 017: undefined symbol "target"
Reply
#4

Quote:
Originally Posted by alishvasis
Посмотреть сообщение
error 017: undefined symbol "target"
pawn Код:
new target;
Reply
#5

pawn Код:
new target, tmp[128];
tmp = strtok(cmdtext, idx);
target = ReturnUser(tmp);
*
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)