[Help]: CreateDynamic3DTextLabel BUG
#1

Hello everyone

I do not know why this happens, bug texts remain and some users have more than one text in the head
If you can help please


My Code

PHP код:
new Text3D:TextUser[MAX_PLAYERS];
//In Disconnect & OnplayerDeath
DestroyDynamic3DTextLabel(TextUser[playerid]);
public 
OnPlayerSpawn(playerid)
{
// Create 3D label
TextUser[playerid] = CreateDynamic3DTextLabel("",-1,0.00.00.52,8.0,playerid);
//Info Text Label Update
new Byt[80],RankVip[20];
switch(
PlayerInfo[playerid][Vip])
{
case 
0RankVip "{FF8040}No";
case 
1RankVip "{00FF80}Lvl 1";
case 
2RankVip "{00FF40}Lvl 2";
}
format(Byt,sizeof(Byt),"RankVip: %s\nLevel: %d\nHeadShoots: %d",RankVip,PlayerInfo[playerid][LevelUp],PlayerInfo[playerid][Hs]);
UpdateDynamic3DTextLabelText(TextUser[playerid],0x808080FF,Byt);
return 
1;

Reply


Messages In This Thread
[Help]: CreateDynamic3DTextLabel BUG - by INKISICION - 19.07.2015, 18:04
AW: [Help]: CreateDynamic3DTextLabel BUG - by Mencent - 19.07.2015, 18:07
Re: [Help]: CreateDynamic3DTextLabel BUG - by INKISICION - 19.07.2015, 22:08
Re: [Help]: CreateDynamic3DTextLabel BUG - by Glenn332 - 19.07.2015, 22:11
Re: [Help]: CreateDynamic3DTextLabel BUG - by INKISICION - 19.07.2015, 22:17
Re: [Help]: CreateDynamic3DTextLabel BUG - by Glenn332 - 19.07.2015, 22:24
Re: [Help]: CreateDynamic3DTextLabel BUG - by INKISICION - 19.07.2015, 22:41
Re: [Help]: CreateDynamic3DTextLabel BUG - by Glenn332 - 19.07.2015, 22:56
Re: [Help]: CreateDynamic3DTextLabel BUG - by INKISICION - 19.07.2015, 23:48
Re: [Help]: CreateDynamic3DTextLabel BUG - by Glenn332 - 19.07.2015, 23:58

Forum Jump:


Users browsing this thread: 1 Guest(s)