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=526124)
Tag Mismatch -
VladNo97 - 15.07.2014
Hello guys, I have some Warnnings and I want to remove them, if anyone know how to fix it it would be greate !
I get almost the warnnings at this getvehiclepos...
PHP код:
else if(dialogid == DIALOG_DSHIP1) // Bikes
{
new string[128], price, giveplayerid, modelid;
GetVehiclePos(PlayerInfo[playerid][pVehicles], PlayerInfo[playerid][pvPosX], PlayerInfo[playerid][pvPosY], PlayerInfo[playerid][pvPosZ]);
GetVehicleZAngle(PlayerInfo[playerid][pVehicles], PlayerInfo[playerid][pvPosAngle]);
PHP код:
D:\Server\Bloo Gaming RP\gamemodes\Bgrp7.0.pwn(73989) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Server\Bloo Gaming RP\gamemodes\Bgrp7.0.pwn(74013) : warning 213: tag mismatch
D:\Server\Bloo Gaming RP\gamemodes\Bgrp7.0.pwn(74013) : warning 213: tag mismatch
D:\Server\Bloo Gaming RP\gamemodes\Bgrp7.0.pwn(74013) : warning 213: tag mismatch
D:\Server\Bloo Gaming RP\gamemodes\Bgrp7.0.pwn(74014) : warning 213: tag mismatch
D:\Server\Bloo Gaming RP\gamemodes\Bgrp7.0.pwn(74019) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Server\Bloo Gaming RP\gamemodes\Bgrp7.0.pwn(74040) : warning 213: tag mismatch
D:\Server\Bloo Gaming RP\gamemodes\Bgrp7.0.pwn(74040) : warning 213: tag mismatch
D:\Server\Bloo Gaming RP\gamemodes\Bgrp7.0.pwn(74040) : warning 213: tag mismatch
D:\Server\Bloo Gaming RP\gamemodes\Bgrp7.0.pwn(74041) : warning 213: tag mismatch
D:\Server\Bloo Gaming RP\gamemodes\Bgrp7.0.pwn(74046) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Server\Bloo Gaming RP\gamemodes\Bgrp7.0.pwn(74064) : warning 213: tag mismatch
D:\Server\Bloo Gaming RP\gamemodes\Bgrp7.0.pwn(74064) : warning 213: tag mismatch
D:\Server\Bloo Gaming RP\gamemodes\Bgrp7.0.pwn(74064) : warning 213: tag mismatch
D:\Server\Bloo Gaming RP\gamemodes\Bgrp7.0.pwn(74065) : warning 213: tag mismatch
D:\Server\Bloo Gaming RP\gamemodes\Bgrp7.0.pwn(74070) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Server\Bloo Gaming RP\gamemodes\Bgrp7.0.pwn(74093) : warning 213: tag mismatch
D:\Server\Bloo Gaming RP\gamemodes\Bgrp7.0.pwn(74093) : warning 213: tag mismatch
D:\Server\Bloo Gaming RP\gamemodes\Bgrp7.0.pwn(74093) : warning 213: tag mismatch
D:\Server\Bloo Gaming RP\gamemodes\Bgrp7.0.pwn(74094) : warning 213: tag mismatch
D:\Server\Bloo Gaming RP\gamemodes\Bgrp7.0.pwn(74100) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Server\Bloo Gaming RP\gamemodes\Bgrp7.0.pwn(74121) : warning 213: tag mismatch
D:\Server\Bloo Gaming RP\gamemodes\Bgrp7.0.pwn(74121) : warning 213: tag mismatch
D:\Server\Bloo Gaming RP\gamemodes\Bgrp7.0.pwn(74121) : warning 213: tag mismatch
D:\Server\Bloo Gaming RP\gamemodes\Bgrp7.0.pwn(74122) : warning 213: tag mismatch
D:\Server\Bloo Gaming RP\gamemodes\Bgrp7.0.pwn(74127) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Server\Bloo Gaming RP\gamemodes\Bgrp7.0.pwn(74147) : warning 213: tag mismatch
D:\Server\Bloo Gaming RP\gamemodes\Bgrp7.0.pwn(74147) : warning 213: tag mismatch
D:\Server\Bloo Gaming RP\gamemodes\Bgrp7.0.pwn(74147) : warning 213: tag mismatch
D:\Server\Bloo Gaming RP\gamemodes\Bgrp7.0.pwn(74148) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
30 Warnings.
Re: Tag Mismatch -
Konstantinos - 15.07.2014
pvPosX,
pvPosY,
pvPosZ and
pvPosAngle should have the
Float: tag in the enum is used for PlayerInfo array.