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?