Is this right?
#2

Is pClass[playerid] defined anywhere?

Something like this would work
pawn Код:
new pClass[MAX_PLAYERS];

public OnPlayerRequestClass(playerid, classid) //Ten Public To Wybierałka Skina
{
  pClass[playerid] = classid;
  if(pClass[playerid] == 16 || pClass[playerid] == 17 && !IsPlayerAdmin(playerid))
  {
    SendClientMessage(playerid,COLOR_YELLOW,"Ten skin jest tylko dla adminуw RCON. Wybierz inny skin bądz zaloguj się jako admin!");
    return 0;
}
Reply


Messages In This Thread
Is this right? - by Puzi - 22.12.2009, 11:32
Re: Is this right? - by [HiC]TheKiller - 22.12.2009, 11:40

Forum Jump:


Users browsing this thread: 1 Guest(s)