SA-MP Forums Archive
Tag mismatch - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Tag mismatch (/showthread.php?tid=632197)



Tag mismatch - penaut - 10.04.2017

Code:
if(IsPlayerInRangeOfPoint(playerid, 5.0, HouseInfo[h][hExitX], HouseInfo[h][hExitY], HouseInfo[h][hExitZ] && vw == HouseInfo[h][hInsideWorld])) return h;
Code:
DayRPG.pwn(7229) : warning 213: tag mismatch



Re: Tag mismatch - jasperschellekens - 10.04.2017

Show the houseinfo enum


Re: Tag mismatch - penaut - 10.04.2017

Code:
enum hInfo
{
    hOwned,
    hPrice,
    hOwner[MAX_PLAYER_NAME],
    hLocked,
    hMoney,
    Float:hEntranceX,
    Float:hEntranceY,
    Float:hEntranceZ,
    Float:hEntranceA,
    Float:hExitX,
    Float:hExitY,
    Float:hExitZ,
    Float:hExitA,
    hInt,
    hWorld,
    hInsideInt,
    hInsideWorld,
    hInsideIcon,
    hOutsideIcon,
	Text3D: hDLabel,
	hWeapon1,
	hWeapon2,
	hWeapon3,
	hWeapon4,
	hWeapon5,
	hWeapon6,
	hWeapon7,
	hWeapon8,
	hWeapon9,
	hWeapon10,
	hAmmo1,
	hAmmo2,
	hAmmo3,
	hAmmo4,
	hAmmo5,
	hAmmo6,
	hAmmo7,
	hAmmo8,
	hAmmo9,
	hAmmo10,
	hOutsideWorld,
	hOutsideInt,
	hLSD,
	hCocaine,
	hMarijuana,
	hMeth,
	hEcstasy,
	hHeroin,
	hCrack,
	HouseCP
}



Re: Tag mismatch - Feynman - 11.04.2017

HTML Code:
if(IsPlayerInRangeOfPoint(playerid, 5.0, HouseInfo[h][hExitX], HouseInfo[h][hExitY], HouseInfo[h][hExitZ] && vw == HouseInfo[h][hInsideWorld])) return h;
to

HTML Code:
if(IsPlayerInRangeOfPoint(playerid, 5.0, HouseInfo[h][hExitX], HouseInfo[h][hExitY], HouseInfo[h][hExitZ]) && vw == HouseInfo[h][hInsideWorld]) return h;



Re: Tag mismatch - iLearner - 11.04.2017



Should be closed after HouseInfo[h][hExitZ] and before &&.