warning 213: tag mismatch
#1

I Dont understand about how to fix this script

Quote:

D:\All In One\Samp Server\NILRP\gamemodes\NHIRP.pwn(1983 : warning 213: tag mismatch
D:\All In One\Samp Server\NILRP\gamemodes\NHIRP.pwn(1983 : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

2 Warnings.

This is The Script

Quote:

// Animations
txtAnimHelper = TextDrawCreate(120.000000, 428.000000, "Tekan Shift Atau Space Atau /Stopanim Untuk Berhentikan Animasi");
TextDrawBackgroundColor(txtAnimHelper, 255);
TextDrawFont(txtAnimHelper, 0);
TextDrawHideForPlayer(txtAnimHelper, 1);
TextDrawLetterSize(txtAnimHelper, 0.500000, 1.000000);
TextDrawColor(txtAnimHelper, -16776961);
TextDrawSetOutline(txtAnimHelper, 1);
TextDrawSetProportional(txtAnimHelper, 1);
print("ANIMATIONS LOADED");

This line

Quote:

LINE 1938 = TextDrawHideForPlayer(txtAnimHelper, 1);

Reply
#2

TextDrawHideForPlayer(playerid, Textdraw[playerid]);
WIKI!
Reply
#3

change: TextDrawHideForPlayer(txtAnimHelper, 1);
to TextDrawHideForPlayer(playerid,txtAnimHelper);
Reply
#4

pawn Код:
TextDrawHideForPlayer(playerid, txtAnimHelper[playerid]);
EDIT: they faster than me
Reply
#5

wrong parameter input. replace the txtAnimHelper with the player's id that you want to hide the textdraw.

EDIT: omg so many posts appearing! I was too late!
Reply
#6

replace with this :-
pawn Код:
TextDrawHideForPlayer(playerid, txtAnimHelper[playerid]);
Reply
#7

Thanks to all , already fixed thanks thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)