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



Small help - Sanady - 17.08.2016

Hey, I have issue which I really don`t see in code. When I compile I get 3 warnings. Which are:
Код:
D:\Server\SA-MP Server\gamemodes\./PwFItems/Ranks.pwn(96) : warning 213: tag mismatch
D:\Server\SA-MP Server\gamemodes\./PwFItems/Ranks.pwn(102) : warning 213: tag mismatch
D:\Server\SA-MP Server\gamemodes\./PwFItems/Ranks.pwn(113) : warning 213: tag mismatch
Maybe I am blind but I don`t see problem in code:
PHP код:
new RankVar[MAX_PLAYERS]; //Global var which is defining label
RankVar[playerid] = CreateDynamic3DTextLabel(Ranks[GetPlayerRank(playerid)][rName], TeamInfo[pTeam[playerid]][TeamColor], 30.040.050.070.0playeridINVALID_VEHICLE_ID1, -1, -1, -1); // 96
DestroyDynamic3DTextLabel(RankVar[playerid]);//102
UpdateDynamic3DTextLabelText(RankVar[playerid], TeamInfo[pTeam[playerid]][TeamColor], Ranks[GetPlayerRank(playerid)][rName]);//113 



Re: Small help - oMa37 - 17.08.2016

PHP код:
new Text3D:RankVar[MAX_PLAYERS]; 



Re: Small help - Sanady - 17.08.2016

Quote:
Originally Posted by oMa37
Посмотреть сообщение
PHP код:
new Text3D:RankVar[MAX_PLAYERS]; 
AAAAAAAAAAAAAAAAAAAAA thanks