Need Help 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: Need Help Tag Mismatch (
/showthread.php?tid=541321)
Need Help Tag Mismatch -
Jdt - 11.10.2014
How to fix this ?
Код:
C:\New folder (2)\gamemodes\PRRP.pwn(25552) : warning 213: tag mismatch
C:\New folder (2)\gamemodes\PRRP.pwn(25552) : warning 213: tag mismatch
C:\New folder (2)\gamemodes\PRRP.pwn(25552) : error 035: argument type mismatch (argument 3)
C:\New folder (2)\gamemodes\PRRP.pwn(25559) : warning 213: tag mismatch
C:\New folder (2)\gamemodes\PRRP.pwn(25559) : warning 213: tag mismatch
C:\New folder (2)\gamemodes\PRRP.pwn(25559) : error 035: argument type mismatch (argument 3)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
Line 25552
pawn Код:
GetPlayer2DZone(HouseInfo[PlayerInfo[iTarget][pHouse]][hExteriorX], HouseInfo[PlayerInfo[iTarget][pHouse]][hExteriorY], szZone, MAX_ZONE_NAME);
Line 25559
pawn Код:
GetPlayer2DZone(HouseInfo[PlayerInfo[iTarget][pHouse2]][hExteriorX], HouseInfo[PlayerInfo[iTarget][pHouse2]][hExteriorY], szZone, MAX_ZONE_NAME);
+Rep If Helped !
Re: Need Help Tag Mismatch -
Shaneisace - 11.10.2014
If it's a location specified zone you can use this one:
Код:
get3dzone(HouseInfo[PlayerInfo[iTarget][pHouse]][hExteriorX], HouseInfo[PlayerInfo[iTarget][pHouse]][hExteriorY], szZone, MAX_ZONE_NAME);
if it's a player location you would use this:
Код:
GetPlayer2DZone(playerid, zone, MAX_ZONE_NAME);
Re: Need Help Tag Mismatch -
Jdt - 11.10.2014
Does not work ..
Anything else ?