SA-MP Forums Archive
Warring - 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: Warring (/showthread.php?tid=550031)



Warring - DangerSta - 10.12.2014

hello How Ro Fix This Warring?
Код:
(3166) : warning 213: tag mismatch
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase

Header size:          12172 bytes
Code size:          2089084 bytes
Data size:         11293828 bytes
Stack/heap size:      16384 bytes; estimated max. usage=4211 cells (16844 bytes)
Total requirements:13411468 bytes

1 Warning.
line 3166
PHP код:
CatchFishes CreatePlayerTextDraw(playerid,37.000000292.000000"Catched Fishes:");
PlayerTextDrawBackgroundColor(playerid,CatchFishes255);
PlayerTextDrawFont(playerid,CatchFishes1);
PlayerTextDrawLetterSize(playerid,CatchFishes0.4300001.200000);
PlayerTextDrawColor(playerid,CatchFishes16777215);
PlayerTextDrawSetOutline(playerid,CatchFishes0);
PlayerTextDrawSetProportional(playerid,CatchFishes1);
PlayerTextDrawSetShadow(playerid,CatchFishes1);
PlayerTextDrawSetSelectable(playerid,CatchFishes0); 
line 3176


Re: Warring - JeaSon - 10.12.2014

change
new PlayerText:CatchFishes; to this

pawn Код:
new PlayerText:CatchFishes[MAX_PLAYERS];
and

"CatchFishes" should be " CatchFishes[playerid] "

https://sampwiki.blast.hk/wiki/CreatePlayerTextDraw


Re: Warring - DangerSta - 10.12.2014

thank you