Bracket error? :@
#1

Heres the error.
C:\Documents and Settings\Administrator\Desktop\samp\gamemodes\larp .pwn(20712) : error 001: expected token: ")", but found "{"

What i want to happen, when the player is at (playerTopoint) and /duty, they get an extinquisher and armour and health

Код:
			  	else if(PlayerInfo[playerid][pMember] == 11 ||PlayerInfo[playerid][pLeader] == 11)
      if (PlayerToPoint(3, playerid,-1663.4292,14.4364,300.5113)
	    {

			    SendClientMessage(playerid, COLOR_WHITE, "* You are now On Duty with your firefighter Job and will receive Fire Hazard calls.");
			    JobDuty[playerid] = 1;
			    Medics += 1;
			    GetPlayerName(playerid,sendername,sizeof(sendername));
			    SafeGivePlayerWeapon(playerid, 36, 65000);
			    SetPlayerArmour(playerid, 100);
		      SetPlayerHealth(playerid, 100);
  					format(string, sizeof(string), "[Advert] Firefighter %s is On Duty, /call 911 if you have seen any fire hazards!", sendername);
	  			OOCNews(COLOR_FIREMAN,string);
			  }
			}
line 20712 =
Код:
	    {
Just below PlayerTopoint
Reply


Messages In This Thread
Bracket error? :@ - by widowmkr - 24.07.2009, 15:59
Re: Bracket error? :@ - by MachineHead - 24.07.2009, 16:02
Re: Bracket error? :@ - by abhinavdabral - 24.07.2009, 16:03
Re: Bracket error? :@ - by widowmkr - 24.07.2009, 16:06
Re: Bracket error? :@ - by abhinavdabral - 24.07.2009, 17:32

Forum Jump:


Users browsing this thread: 1 Guest(s)