IsPlayerAdmin [HELP]!!!!
#4

Alvord you are wrong

it would be something like this

pawn Код:
if(PlayerInfo[playerid][pAdmin] > 1)
DarioKelc make a enum something like

pawn Код:
enum pInfo
{
     pAdmin,
};
new PlayerInfo[MAX_PLAYERS][pInfo];
that should work

EDIT:

if you want to add a message if player is not administrator you will just do like this

pawn Код:
if(PlayerInfo[playerid][pAdmin] > 1)
{
      //codes
}
else return SendClientMessage(playerid, COLOR_ERROR, "You are not Administrator!");
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: 4 Guest(s)