Admin CMD help
#1

OK, I'm in the middle of Scripting some gates and Teleports and I need to know how to make one of my Commands to a admin command.So if anyone could help me that would be great.
Thanks
Reply
#2

Well depends on your code, do you use dini? Do you use PlayerInfo[playerid][pAdmin]? But if you want them to be just RCON admin, here. Dont forget to search.
Reply
#3

if you don't have a login/register system yet, then I'd suggest to download an admin script...
Reply
#4

if you have made admin level like [pLevel]
then its
pawn Код:
if(PlayerInfo[playerid] [pLevel] > 1) return SendClientMessage(playerid, -1, "You are not authorized to use this command.");
{
      //CMD goes here
}
Reply
#5

ehm lol... that command would only be able to be used by level 1 and level 0 players = no admin command
Reply
#6

Post the command
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)