Tag mismatch error(Houses) - 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 error(Houses) (
/showthread.php?tid=340322)
Tag mismatch error(Houses) -
Andregood - 06.05.2012
I basically tried making it so both houses can have the same feature.
House is the first house, house1 is the secondary house.
Anyway, I get this error Tag mismatch and I don't really know why, I'd appreciate some help.
Код:
(Houses[Player[playerid][House]][HousePot] -= Amount || (Houses[Player[playerid][House1]][HousePot] -= Amount));
And this basically gives me the warning.
Re: Tag mismatch error(Houses) -
Vince - 06.05.2012
Errr? What are you actually trying to do?
Re: Tag mismatch error(Houses) -
Andregood - 06.05.2012
I want to make the command work for both kind of houses, the || allows both houses to use the function right.. And basically, I get tag mismatch errors for that?;O I got more as well, and I noticed this was only when I used the Amount, can it be something with integers?;O
Re: Tag mismatch error(Houses) -
Oscii - 06.05.2012
NGRP script..? -_-
Re: Tag mismatch error(Houses) -
Andregood - 06.05.2012
No? I don't even know what NG-RP is except the blatant: An RP mode of some sort.