Warning Code - 3D Player Text Label - 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: Warning Code - 3D Player Text Label (
/showthread.php?tid=454680)
Warning Code - 3D Player Text Label -
Skimmer - 29.07.2013
Warning code
pawn Код:
C:\Users\Engin\Desktop\SA-MP\Server Scripting\1v1 Crews\server-debug\gamemodes\DM.pwn(7121) : warning 213: tag mismatch
Warning line (This resets the 3D Text ID when player quits)
pawn Код:
vip_text[playerid] = INVALID_3DTEXT_ID;
And it's defined so
pawn Код:
new PlayerText3D:vip_text[MAX_SLOT];
Re: Warning Code - 3D Player Text Label -
maxpain43 - 30.07.2013
Quote:
Originally Posted by Skimmer
Warning code
pawn Код:
C:\Users\Engin\Desktop\SA-MP\Server Scripting\1v1 Crews\server-debug\gamemodes\DM.pwn(7121) : warning 213: tag mismatch
Warning line (This resets the 3D Text ID when player quits)
pawn Код:
vip_text[playerid] = INVALID_3DTEXT_ID;
And it's defined so
pawn Код:
new PlayerText3D:vip_text[MAX_SLOT];
|
Maybe try to define it as players not slots: new PlayerText3D:vip_text[MAX_PLAYERS];
cause your using playerid you should do it for players not slots. otherwise vip_text[slotid] = INVALID_3DTEXT_ID;
AW: Warning Code - 3D Player Text Label -
Skimmer - 30.07.2013
Still doesn't work.
Re: Warning Code - 3D Player Text Label -
maxpain43 - 30.07.2013
Try #define vip_text[MAX_PLAYERS]
Also did you define MAX_SLOTS?
Re: Warning Code - 3D Player Text Label -
-Prodigy- - 30.07.2013
pawn Код:
vip_text[playerid] = PlayerText3D: INVALID_3DTEXT_ID;