Check if he/she is higher level
#1

Hello, I'm having trouble with my scripts, Was just trying to create a "get" command. So, how can I disable admin the is lower to get an admin is higher than he/she.

Something like this,
pawn Код:
if(id ==
Whats is the next code ? Help please.
Reply
#2

pawn Код:
CMD:get(playerid, params[])
{
    new targetid;
    if(!isnull...
    {
        if( My_Admin_Variable[ targetid ] > My_Admin_Variable[ playerid ] ) return SendClientMessage( "No." );
Reply
#3

Quote:
Originally Posted by Rajat_Pawar
Посмотреть сообщение
pawn Код:
CMD:get(playerid, params[])
{
    new targetid;
    if(!isnull...
    {
        if( My_Admin_Variable[ targetid ] > My_Admin_Variable[ playerid ] ) return SendClientMessage( "No." );
O... Thanks Rajat.

I lol'ed at this
pawn Код:
SendClientMessage( "No." );
xD
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)