IsPlayerAdmin [HELP]!!!!
#1

Hello,
Im scripting a adminhq for my server. But i want ONLY regular administrators allowed not only RCON.
This is what i have. Only work if im logged in as RCON. But i want it to work with regular admins.
p.s- Im using LuxAdmin

This is my code.
Код:
if(strcmp(cmdtext,"/adminhq",true)==0)
{
if(!IsPlayerAdmin(playerid)) return 1;
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,-1201.8862,-1000.5042,128.9680);
GameTextForPlayer(playerid,"~g~Admin ~r~House ~p~!!!",4000,6);
new string[256], pname[MAX_PLAYER_NAME];
return 1;
}
Reply


Messages In This Thread
IsPlayerAdmin [HELP]!!!! - by [PDS]DarioKeic - 18.03.2012, 06:14
Re: IsPlayerAdmin [HELP]!!!! - by Alvord - 18.03.2012, 06:24
Re: IsPlayerAdmin [HELP]!!!! - by [PDS]DarioKeic - 18.03.2012, 06:32
Re: IsPlayerAdmin [HELP]!!!! - by Reklez - 18.03.2012, 06:33
Re: IsPlayerAdmin [HELP]!!!! - by [PDS]DarioKeic - 18.03.2012, 06:36
Re: IsPlayerAdmin [HELP]!!!! - by Reklez - 18.03.2012, 06:40
Re: IsPlayerAdmin [HELP]!!!! - by RoleplayEditor - 18.03.2012, 06:41
Re: IsPlayerAdmin [HELP]!!!! - by Skribblez - 18.03.2012, 06:46

Forum Jump:


Users browsing this thread: 3 Guest(s)