SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 10/04/2017, 04:20 PM   #1
penaut
Little Clucker
 
penaut's Avatar
 
Join Date: Jan 2016
Posts: 36
Reputation: 0
Default Tag mismatch

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
penaut is offline   Reply With Quote
Old 10/04/2017, 04:29 PM   #2
jasperschellekens
High-roller
 
jasperschellekens's Avatar
 
Join Date: Dec 2016
Location: Holland
Posts: 1,078
Reputation: 126
Default Re: Tag mismatch

Show the houseinfo enum
jasperschellekens is offline   Reply With Quote
Old 10/04/2017, 04:35 PM   #3
penaut
Little Clucker
 
penaut's Avatar
 
Join Date: Jan 2016
Posts: 36
Reputation: 0
Default Re: Tag mismatch

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
}
penaut is offline   Reply With Quote
Old 11/04/2017, 09:22 AM   #4
Feynman
Little Clucker
 
Join Date: Mar 2017
Posts: 10
Reputation: 13
Default Re: Tag mismatch

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;
Feynman is offline   Reply With Quote
Old 11/04/2017, 09:24 AM   #5
iLearner
Gangsta
 
iLearner's Avatar
 
Join Date: Apr 2017
Posts: 576
Reputation: 134
Default Re: Tag mismatch



Should be closed after HouseInfo[h][hExitZ] and before &&.
iLearner is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tag Mismatch friezakinght Scripting Help 4 21/08/2014 11:08 AM
[Ajuda] Tag mismatch Delete_ Português/Portuguese 3 22/04/2013 03:17 PM
tag mismatch (#2) LZLo Help Archive 3 14/07/2011 02:54 PM
tag mismatch (#1) LZLo Help Archive 3 14/07/2011 02:52 PM
[Help] Argument type mismatch and tag mismatch Spiffyk Help Archive 2 27/12/2010 12:04 PM


All times are GMT. The time now is 07:58 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.