Help me please!
#5

Why i make this

Код:
 public OnPlayerSpawn(playerid)
{
  if(GetPlayerSkin(playerid) == 0 && !IsPlayerAdmin(playerid))
  {
  ForceClassSelection(playerid);
  SetPlayerHealth(playerid,0)



public OnPlayerRequestSpawn(playerid)
{
  if(pClass[playerid] == 2 && !IsPlayerAdmin(playerid))
  {
    SendClientMessage(playerid,COLOR_RED,"This skin is for RCON admins only!");
    return 0;
  }
  return 1;
}


new pClass[MAX_PLAYERS];

public OnPlayerRequestClass(playerid, classid) //Ten Public To Wybiera?ka Skina
{
  pClass[playerid] = classid; //Save the players classid to the array to use later.
  return 1;
};
ERROR

Код:
C:\Documents and Settings\zairol\Desktop\MC Drift\gamemodes\lvdm.pwn(95) : error 017: undefined symbol "pClass"
C:\Documents and Settings\zairol\Desktop\MC Drift\gamemodes\lvdm.pwn(95) : warning 215: expression has no effect
C:\Documents and Settings\zairol\Desktop\MC Drift\gamemodes\lvdm.pwn(95) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\zairol\Desktop\MC Drift\gamemodes\lvdm.pwn(95) : error 029: invalid expression, assumed zero
C:\Documents and Settings\zairol\Desktop\MC Drift\gamemodes\lvdm.pwn(95) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Reply


Messages In This Thread
Help me please! - by David-Sean - 28.05.2010, 15:37
Re: Help me please! - by russo666 - 28.05.2010, 15:39
Re: Help me please! - by Jeffry - 28.05.2010, 15:41
Re: Help me please! - by David-Sean - 28.05.2010, 15:51
Re: Help me please! - by David-Sean - 28.05.2010, 16:20

Forum Jump:


Users browsing this thread: 1 Guest(s)