Warning Code - 3D Player Text Label
#1

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];
Reply
#2

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;
Reply
#3

Still doesn't work.
Reply
#4

Try #define vip_text[MAX_PLAYERS]
Also did you define MAX_SLOTS?
Reply
#5

pawn Код:
vip_text[playerid] = PlayerText3D: INVALID_3DTEXT_ID;
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)