Expected token ";", but found "["...How to fix this?
#1

Код:
C:\Users\Owner\Desktop\NERP\gamemodes\larp.pwn(3708) : warning 215: expression has no effect
C:\Users\Owner\Desktop\NERP\gamemodes\larp.pwn(3708) : error 001: expected token: ";", but found "["
C:\Users\Owner\Desktop\NERP\gamemodes\larp.pwn(3708) : error 029: invalid expression, assumed zero
C:\Users\Owner\Desktop\NERP\gamemodes\larp.pwn(3708) : warning 215: expression has no effect
C:\Users\Owner\Desktop\NERP\gamemodes\larp.pwn(3708) : error 001: expected token: ";", but found "]"
C:\Users\Owner\Desktop\NERP\gamemodes\larp.pwn(3708) : fatal error 107: too many error messages on one line

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


4 Errors.
Код:
stock GivePlayerValidWeapon( playerid, WeaponID, Ammo )
{
    //if((PlayerInfo[playerid][pConnectSeconds] < 500 || PlayerInfo[playerid][pGunLic] > 0) && WeaponID != 46 && WeaponID != 43) return 1;
	switch( WeaponID )
	{
  		case 0, 1:
		{
			PlayerInfo[playerid][pInvWeapon][ 0 ] = WeaponID;//Line 3708
			GivePlayerWeapon( playerid, WeaponID, Ammo );
		}
Reply


Messages In This Thread
Expected token ";", but found "["...How to fix this? - by Justin_Case - 19.07.2012, 16:35
Re: Expected token ";", but found "["...How to fix this? - by Frosty_LV - 19.07.2012, 16:38
Re: Expected token ";", but found "["...How to fix this? - by NuLIO - 19.07.2012, 16:42
Re: Expected token ";", but found "["...How to fix this? - by sampreader - 19.07.2012, 16:44
Re: Expected token ";", but found "["...How to fix this? - by Justin_Case - 19.07.2012, 16:48

Forum Jump:


Users browsing this thread: 1 Guest(s)