[HELP]Only Admins but how????
#4

Quote:
Originally Posted by Shoaib
Посмотреть сообщение
What Admin Script You Use?
Quote:

.........I am using Lux admin script........please help

Example code
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp(cmdtext, "/island", true) == 0)
    {
         if(!IsPlayerLuxAdmin(playerid)) return SendClientMessage(playerid, 0xFFFFFFAA, "This command is just for admins");
         {
            //code
         }
    {
    return 1;
{
^ You can do like that
Reply


Messages In This Thread
[HELP]Only Admins but how???? - by Ronaldo_raul™ - 13.05.2011, 15:34
Re: [HELP]Only Admins but how???? - by Shoaib - 13.05.2011, 15:40
Re: [HELP]Only Admins but how???? - by Ronaldo_raul™ - 13.05.2011, 15:43
Re: [HELP]Only Admins but how???? - by Laronic - 13.05.2011, 15:45
Re: [HELP]Only Admins but how???? - by Ronaldo_raul™ - 13.05.2011, 15:49
Re: [HELP]Only Admins but how???? - by Laronic - 13.05.2011, 16:01
Re: [HELP]Only Admins but how???? - by Ronaldo_raul™ - 13.05.2011, 16:04
Re: [HELP]Only Admins but how???? - by Ronaldo_raul™ - 13.05.2011, 16:15
Re: [HELP]Only Admins but how???? - by Seven_of_Nine - 13.05.2011, 16:39
Re: [HELP]Only Admins but how???? - by Ronaldo_raul™ - 13.05.2011, 16:42

Forum Jump:


Users browsing this thread: 3 Guest(s)