Error in code [ Please help ]
#1

I get 26 errors when I compile this

I get 0 errors when I take out this coding...
What is wronge with this coding

Код:
	if(strcmp(cmd, "/getmats", true) == 0)
	{
	GetPlayerName(playerid, playername, sizeof(playername));
	if(PlayerInfo[playerid][pJob] == 9) && IsPlayerInRangeOfPoint(playerid,10.0,316.2688,1119.7667,1083.8828)) // Route 1
	{
        if(MatsRoute[playerid] == 0 || MatsRoute[playerid] == 1)
        {
	        if(MatsHolding[playerid] < 10)
	        {
	            ShowMatsMenu(playerid,1);
	            PlayerPlaySound(playerid, 1150, 0.0, 0.0, 0.0);
      			return 1;
	        }
	        else
	        {
	            PlayerPlaySound(playerid, 1150, 0.0, 0.0, 0.0);
	            SendClientMessage(playerid, COLOR_GREY, "I can't sell you anymore, go deliver them.");
      			return 1;
            }
	    }
	    else
	    {
	        PlayerPlaySound(playerid, 1150, 0.0, 0.0, 0.0);
	        SendClientMessage(playerid, COLOR_GREY, "You are already doing a other route");
       		return 1;
	    }
	}
	else
	{
	    PlayerPlaySound(playerid, 1150, 0.0, 0.0, 0.0);
	    SendClientMessage(playerid, COLOR_GREY, "You are not a arms dealer");
    	return 1;
	}
Reply


Messages In This Thread
Error in code [ Please help ] - by ShawnMiller1337 - 01.12.2010, 20:39
Re: Error in code [ Please help ] - by JaTochNietDan - 01.12.2010, 20:41
Re: Error in code [ Please help ] - by ShawnMiller1337 - 01.12.2010, 20:43
Re: Error in code [ Please help ] - by JaTochNietDan - 01.12.2010, 20:52
Re: Error in code [ Please help ] - by ShawnMiller1337 - 01.12.2010, 20:59

Forum Jump:


Users browsing this thread: 1 Guest(s)