Jump to content

Question

Posted

Eroare:

C:\DOCUME~1\User\Desktop\LASTGA~1.3D\GAMEMO~1\fb.pwn(47403) : error 001: expected token: ")", but found "{"

Comanda & Linie:

if(strcmp(cmd, "/cabinet", true) == 0) // by Williams
	{
 		if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5 || PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6 || PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12 || PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13)
		{
 			if(PlayerToPoint(2.0, playerid, 1265.6984,-774.9542,1091.9063) || PlayerToPoint(2.0, playerid, 2451.2488,-1689.9900,1013.5078) || PlayerToPoint(2.0, playerid, 2817.0930,-1166.8081,1029.1719) || PlayerToPoint(2.0, playerid, 2341.7881,-1186.6757,1027.9766 || PlayerToPoint(2.0, playerid, 1378.5902,-1637.1937,13.5395))
    		[color=red][b]=>> LINIA[/b][/color] {
		        ShowPlayerDialog(playerid, 8, DIALOG_STYLE_LIST, "Store Weapon Lists", "Health($500)\nExtra Health($1,000)\nKatana($1,000)\nDeagle($2,000)\nAk-47($3,700)\nM4($4,000)\nMP5($3,500)\nShot Gun($4,500)\nRifle($5,000)","Buy", "Cancel");
				return 1;
			}
		}
		else
		{
			SendClientMessage(playerid, COLOR_WHITE,"You are not a family member");
			return 1;
		}
	}

1 answer to this question

Recommended Posts

Posted

[pawn]if(strcmp(cmd, "/cabinet", true) == 0) // by Williams

{

if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5 || PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6 || PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12 || PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13)

{

if(PlayerToPoint(2.0, playerid, 1265.6984,-774.9542,1091.9063) || PlayerToPoint(2.0, playerid, 2451.2488,-1689.9900,1013.5078) || PlayerToPoint(2.0, playerid, 2817.0930,-1166.8081,1029.1719) || PlayerToPoint(2.0, playerid, 2341.7881,-1186.6757,1027.9766) || PlayerToPoint(2.0, playerid, 1378.5902,-1637.1937,13.5395))

    {

        ShowPlayerDialog(playerid, 8, DIALOG_STYLE_LIST, "Store Weapon Lists", "Health($500)\nExtra Health($1,000)\nKatana($1,000)\nDeagle($2,000)\nAk-47($3,700)\nM4($4,000)\nMP5($3,500)\nShot Gun($4,500)\nRifle($5,000)","Buy", "Cancel");

return 1;

}

}

else

{

SendClientMessage(playerid, COLOR_WHITE,"You are not a family member");

return 1;

}

}[/pawn]

ai uitat sa pui o paranteza la penultimul playertopoint

PlayerToPoint(2.0, playerid, 2341.7881,-1186.6757,1027.9766

 

1859311972_BANNER-GIREADAcopy-min.thumb.png.48e5e420ae2185dce5b244965a1d2601.png

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.