[AJUDA] Erro ao compilar gm que baixei...
#1

Quando mando compilar da o seguinte erro:

Код:
D:\Fillipe\gta san andreas online www.baixafulldownloads.blogspot.comgm completo gamer x\SAMP RP\SAMP RP\pawno\include\YSI/Visual/YSI_objects.own(3260) : error 001: expected token: ")", but found "["
D:\Fillipe\gta san andreas online www.baixafulldownloads.blogspot.comgm completo gamer x\SAMP RP\SAMP RP\pawno\include\YSI/Visual/YSI_objects.own(3260) : error 029: invalid expression, assumed zero
D:\Fillipe\gta san andreas online www.baixafulldownloads.blogspot.comgm completo gamer x\SAMP RP\SAMP RP\pawno\include\YSI/Visual/YSI_objects.own(3260) : error 029: invalid expression, assumed zero
D:\Fillipe\gta san andreas online www.baixafulldownloads.blogspot.comgm completo gamer x\SAMP RP\SAMP RP\pawno\include\YSI/Visual/YSI_objects.own(3260) : fatal error 107: too many error messages on one line

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


4 Errors.
O erro esta onde se encontra "case 5:" (linha 3260)

Код:
public FishCost(playerid, fish)
{
	if(IsPlayerConnected(playerid))
	{
		new cost = 0;
		switch (fish)
		{
		  case 1:
		  {
		    cost = 1;
		  }
		  case 2:
		  {
		    cost = 3;
		  }
		  case 3:
		  {
		    cost = 3;
		  }
		  case 5:
		  {
		    cost = 5;
		  }
		  case 6:
		  {
		    cost = 2;
		  }
		  case 8:
		  {
		    cost = 8;
		  }
		  case 9:
		  {
		    cost = 12;
		  }
		  case 11:
		  {
		    cost = 9;
		  }
		  case 12:
		  {
		    cost = 7;
		  }
		  case 14:
		  {
		    cost = 12;
		  }
		  case 15:
		  {
		    cost = 9;
		  }
		  case 16:
		  {
		    cost = 7;
		  }
		  case 17:
		  {
		    cost = 7;
		  }
		  case 18:
		  {
		    cost = 10;
		  }
		  case 19:
		  {
		    cost = 4;
		  }
		  case 21:
		  {
		    cost = 3;
		  }
		}
		return cost;
	}
	return 0;
}
Reply


Messages In This Thread
[AJUDA] Erro ao compilar gm que baixei... - by fillipe2206 - 31.05.2010, 21:59
Re: [AJUDA] Erro ao compilar gm que baixei... - by zSuYaNw - 31.05.2010, 22:30
Re: [AJUDA] Erro ao compilar gm que baixei... - by Gangster_ - 31.05.2010, 22:36
Re: [AJUDA] Erro ao compilar gm que baixei... - by zSuYaNw - 31.05.2010, 22:44
Re: [AJUDA] Erro ao compilar gm que baixei... - by higoroliveira22 - 31.05.2010, 22:47
Re: [AJUDA] Erro ao compilar gm que baixei... - by russo666 - 31.05.2010, 23:02
Re: [AJUDA] Erro ao compilar gm que baixei... - by zSuYaNw - 31.05.2010, 23:03

Forum Jump:


Users browsing this thread: 2 Guest(s)