SA-MP Forums Archive
Tag missmatch - 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 missmatch (/showthread.php?tid=499965)



Tag missmatch - BigBrainAFK - 10.03.2014

Код:
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(61) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(62) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(63) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(64) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(65) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(66) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(67) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(68) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(69) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(70) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(71) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(72) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(73) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(75) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(76) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(77) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(78) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(79) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(80) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(81) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(82) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(83) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(84) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(85) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(86) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(87) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(89) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(90) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(91) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(92) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(93) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(94) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(95) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(96) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(97) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(98) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(99) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(100) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(101) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(103) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(104) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(105) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(106) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(107) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(108) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(109) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(110) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(111) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(112) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(113) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(114) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(115) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(131) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(132) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(133) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(134) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(135) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(136) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(137) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(138) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(179) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(180) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(181) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(182) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(187) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(188) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(189) : warning 213: tag mismatch
C:\Users\Tony\Desktop\Base-RP\ASRPv2\filterscripts\tacho.pwn(190) : warning 213: tag mismatch
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


68 Warnings.
Here the lines:

pawn Код:
stock CreateTextDraws(playerid)
{
    // Create the textdraws:
    TextdrawSpeed = CreatePlayerTextDraw(playerid, 545, 410, "Speed: 0 KPH");
    PlayerTextDrawAlignment(playerid, TextdrawSpeed, 2);
    PlayerTextDrawBackgroundColor(playerid, TextdrawSpeed, 255);
    PlayerTextDrawFont(playerid, TextdrawSpeed, 1);
    PlayerTextDrawLetterSize(playerid, TextdrawSpeed, 0, 1);
    PlayerTextDrawColor(playerid, TextdrawSpeed, -1);
    PlayerTextDrawSetOutline(playerid, TextdrawSpeed, 0);
    PlayerTextDrawSetProportional(playerid, TextdrawSpeed, 1);
    PlayerTextDrawSetShadow(playerid, TextdrawSpeed, 2);
    PlayerTextDrawUseBox(playerid, TextdrawSpeed, 1);
    PlayerTextDrawBoxColor(playerid, TextdrawSpeed, 255);
    PlayerTextDrawTextSize(playerid, TextdrawSpeed, 0, 186);
    PlayerTextDrawSetSelectable(playerid, TextdrawSpeed, 0);

    TextdrawHealth = CreatePlayerTextDraw(playerid, 545, 398, "Health: 1000");
    PlayerTextDrawAlignment(playerid, TextdrawHealth, 2);
    PlayerTextDrawBackgroundColor(playerid, TextdrawHealth, 255);
    PlayerTextDrawFont(playerid, TextdrawHealth, 1);
    PlayerTextDrawLetterSize(playerid, TextdrawHealth, 0.600000, 1);
    PlayerTextDrawColor(playerid, TextdrawHealth, -1);
    PlayerTextDrawSetOutline(playerid, TextdrawHealth, 0);
    PlayerTextDrawSetProportional(playerid, TextdrawHealth, 1);
    PlayerTextDrawSetShadow(playerid, TextdrawHealth, 2);
    PlayerTextDrawUseBox(playerid, TextdrawHealth, 1);
    PlayerTextDrawBoxColor(playerid, TextdrawHealth, 255);
    PlayerTextDrawTextSize(playerid, TextdrawHealth, 0, 186);
    PlayerTextDrawSetSelectable(playerid, TextdrawHealth, 0);

    TextdrawDoors = CreatePlayerTextDraw(playerid, 545, 386, "Doors locked");
    PlayerTextDrawAlignment(playerid, TextdrawDoors, 2);
    PlayerTextDrawBackgroundColor(playerid, TextdrawDoors, 255);
    PlayerTextDrawFont(playerid, TextdrawDoors, 1);
    PlayerTextDrawLetterSize(playerid, TextdrawDoors, 0.600000, 1);
    PlayerTextDrawColor(playerid, TextdrawDoors, -1);
    PlayerTextDrawSetOutline(playerid, TextdrawDoors, 0);
    PlayerTextDrawSetProportional(playerid, TextdrawDoors, 1);
    PlayerTextDrawSetShadow(playerid, TextdrawDoors, 2);
    PlayerTextDrawUseBox(playerid, TextdrawDoors, 1);
    PlayerTextDrawBoxColor(playerid, TextdrawDoors, 255);
    PlayerTextDrawTextSize(playerid, TextdrawDoors, 0, 186);
    PlayerTextDrawSetSelectable(playerid, TextdrawDoors, 0);

    TextdrawCarname = CreatePlayerTextDraw(playerid, 545, 374, "Carname");
    PlayerTextDrawAlignment(playerid, TextdrawCarname, 2);
    PlayerTextDrawBackgroundColor(playerid, TextdrawCarname, 255);
    PlayerTextDrawFont(playerid, TextdrawCarname, 1);
    PlayerTextDrawLetterSize(playerid, TextdrawCarname, 0.600000, 1);
    PlayerTextDrawColor(playerid, TextdrawCarname, -1);
    PlayerTextDrawSetOutline(playerid, TextdrawCarname, 0);
    PlayerTextDrawSetProportional(playerid, TextdrawCarname, 1);
    PlayerTextDrawSetShadow(playerid, TextdrawCarname, 2);
    PlayerTextDrawUseBox(playerid, TextdrawCarname, 1);
    PlayerTextDrawBoxColor(playerid, TextdrawCarname, 255);
    PlayerTextDrawTextSize(playerid, TextdrawCarname, 0, 186);
    PlayerTextDrawSetSelectable(playerid, TextdrawCarname, 0);

    return 1;
}
pawn Код:
stock DestroyPlayerTextDraws(playerid)
{
    PlayerTextDrawHide(playerid, TextdrawSpeed);
    PlayerTextDrawDestroy(playerid, TextdrawSpeed);
    PlayerTextDrawHide(playerid, TextdrawHealth);
    PlayerTextDrawDestroy(playerid, TextdrawHealth);
    PlayerTextDrawHide(playerid, TextdrawDoors);
    PlayerTextDrawDestroy(playerid, TextdrawDoors);
    PlayerTextDrawHide(playerid, TextdrawCarname);
    PlayerTextDrawDestroy(playerid, TextdrawCarname);
    return 1;
}

Thanks for every help or command i get and +rep for a fix!


Re: Tag missmatch - BigBrainAFK - 11.03.2014

anyone?


Re: Tag missmatch - Blademaster680 - 11.03.2014

Which line is 61 for example?


Re: Tag missmatch - Haydz - 11.03.2014

Hi, would you be able to post your the code where you are created the vars for these textdraws.

If your var looks like this (For player textdraws only)

new Text:Textdrawspeed;
change it to
new PlayerText:Textdrawspeed;


Re: Tag missmatch - Avi Raj - 11.03.2014

yup, show your PVars.