Need Help Tag Mismatch
#1

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 !
Reply
#2

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);
Reply
#3

Does not work ..
Anything else ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)