can someone tech me make simple admin commands
#3

Quote:
Originally Posted by xRyder
Посмотреть сообщение
I made just a quick example for you.. If you got any questions feel free to ask me.

pawn Код:
CMD:kick(playerid, params[])
{
    if(PlayerInfo[playerid][pAdminLevel] >= 2)// So this will check if player is an admin level 2 or more and if he is
    {// this code will continue....
        //here goes your code....
    }
    else return SendClientMessage( playerid, 0xFF0000FF, "You'r not an admin!");//if player isn't an admin or hes an admin level 1 -> it will send him a message...
    return 1;
}
How about Code for continue?
Reply


Messages In This Thread
can someone tech me make simple admin commands - by Dr.Ghost - 13.03.2011, 09:35
Re: can someone tech me make simple admin commands - by xRyder - 13.03.2011, 09:43
Re: can someone tech me make simple admin commands - by Dr.Ghost - 13.03.2011, 09:50
Re: can someone tech me make simple admin commands - by xRyder - 13.03.2011, 09:53
Re: can someone tech me make simple admin commands - by Dr.Ghost - 13.03.2011, 10:30
Re: can someone tech me make simple admin commands - by bestr32 - 16.03.2011, 17:36
Re: can someone tech me make simple admin commands - by bestr32 - 16.03.2011, 17:44

Forum Jump:


Users browsing this thread: 1 Guest(s)