IsPlayerAdmin [HELP]!!!!
#2

If players are to create accounts for your server,

add something like this into your enum:

pawn Код:
PlayerInfo[playerid][pAdmin]
this would determine whether the player is an admin or not.

then on your admin HQ, add this:

pawn Код:
if(PlayerInfo[playerid][pAdmin] > 0)
{
    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)