SA-MP Forums Archive
tag mismatch (#2) - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: tag mismatch (#2) (/showthread.php?tid=268991)



tag mismatch (#2) - LZLo - 14.07.2011

PHP код:
new Afk3D[MAX_PLAYERS];
new 
pid GetPlayerID(playerid);
Afk3D[pid] = CreateDynamic3DTextLabel("[AFK]"COLOR_LIGHTBLUEFloat:ppxFloat:ppyFloat:ppz65.00INVALID_VEHICLE_ID0, -1, -1, -165.0);
/*CreateDynamic3DTextLabel(const text[], color, Float:x, Float:y, Float:z, Float:drawdistance, attachedplayer = INVALID_PLAYER_ID, attachedvehicle = INVALID_VEHICLE_ID, testlos = 0, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 100.0);*/ 
PHP код:
stock GetPlayerID(playerid) return playerid
warning: tag mismatch
how can i fix it?


Re: tag mismatch (#2) - RyDeR` - 14.07.2011

Add "Text3D:" tag to your variable.


Re: tag mismatch (#2) - Toreno - 14.07.2011

EDIT: Nevermind already.


Re: tag mismatch (#2) - LZLo - 14.07.2011

Quote:
Originally Posted by RyDeR`
Посмотреть сообщение
Add "Text3D:" tag to your variable.
works, thanks