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=550196)



Tag Mismatch - XotixReaper - 11.12.2014

I am getting many tag mismatch and number of arguments does not match definition warnings so help me.
The errors are as following:
Код:
D:\Oldy\PRRP\gamemodes\PRRP.pwn(25549) : warning 213: tag mismatch
D:\Oldy\PRRP\gamemodes\PRRP.pwn(25549) : warning 213: tag mismatch
D:\Oldy\PRRP\gamemodes\PRRP.pwn(25549) : error 035: argument type mismatch (argument 3)
D:\Oldy\PRRP\gamemodes\PRRP.pwn(25556) : warning 213: tag mismatch
D:\Oldy\PRRP\gamemodes\PRRP.pwn(25556) : warning 213: tag mismatch
D:\Oldy\PRRP\gamemodes\PRRP.pwn(25556) : error 035: argument type mismatch (argument 3)
D:\Oldy\PRRP\gamemodes\PRRP.pwn(58785) : warning 213: tag mismatch
D:\Oldy\PRRP\gamemodes\PRRP.pwn(58785) : warning 213: tag mismatch
D:\Oldy\PRRP\gamemodes\PRRP.pwn(58785) : warning 213: tag mismatch
D:\Oldy\PRRP\gamemodes\PRRP.pwn(58785) : warning 202: number of arguments does not match definition
D:\Oldy\PRRP\gamemodes\PRRP.pwn(58785) : warning 202: number of arguments does not match definition
D:\Oldy\PRRP\gamemodes\PRRP.pwn(58819) : warning 213: tag mismatch
D:\Oldy\PRRP\gamemodes\PRRP.pwn(58819) : warning 213: tag mismatch
D:\Oldy\PRRP\gamemodes\PRRP.pwn(58819) : warning 213: tag mismatch
D:\Oldy\PRRP\gamemodes\PRRP.pwn(58819) : warning 202: number of arguments does not match definition
D:\Oldy\PRRP\gamemodes\PRRP.pwn(58819) : warning 202: number of arguments does not match definition
D:\Oldy\PRRP\gamemodes\PRRP.pwn(61816) : warning 213: tag mismatch
D:\Oldy\PRRP\gamemodes\PRRP.pwn(61816) : error 035: argument type mismatch (argument 2)
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Errors.
The lines are as following:
Line 25549:
Код:
GetPlayer2DZone(HouseInfo[PlayerInfo[iTarget][pHouse]][hExteriorX], HouseInfo[PlayerInfo[iTarget][pHouse]][hExteriorY], szZone, MAX_ZONE_NAME);
Line 25556:
Код:
GetPlayer2DZone(HouseInfo[PlayerInfo[iTarget][pHouse2]][hExteriorX], HouseInfo[PlayerInfo[iTarget][pHouse2]][hExteriorY], szZone, MAX_ZONE_NAME);
Line 58785:
Код:
GetPlayer3DZone(carPos[0], carPos[1], carPos[2], zone, sizeof(zone));
Line 58819:
Код:
GetPlayer3DZone(carPos[0], carPos[1], carPos[2], zone, sizeof(zone));
Line 61816:
Код:
GetPlayer3DZone(X, Y, Z, zone, sizeof(zone));
Please do help me quickly.
Regards,
Xotix


Re: Tag Mismatch - Dziugsas - 11.12.2014

why do you add it like HouseInfo[PlayerInfo[][]...??


Re: Tag Mismatch - XotixReaper - 12.12.2014

Quote:
Originally Posted by Dziugsas
Посмотреть сообщение
why do you add it like HouseInfo[PlayerInfo[][]...??
Then what should I do?


Re: Tag Mismatch - Raweresh - 12.12.2014

Show variable HouseInfo and enum assigned to this variable.