[HELP] dynamic3dtext label mute
#1

Hello I have cmd mute and then when I mute player he gt laber above his head Muted and when I unmute some player the label still stay. What could be the problem why label won't remove? Thanks

pawn Код:
new Text3D:muted[MAX_PLAYERS];

and this is in unmute when I destroy that label for some player

DestroyDynamic3DTextLabel(muted[id]);
Reply
#2

Show me the muting Dynamic3dtextlabel :P
Reply
#3

If you mean how I create dynamiclabel here it is

pawn Код:
muted[id] = CreateDynamic3DTextLabel("~Muted~",COLOR_ORANGERED,0.0,0.0,0.6,15.0,id,INVALID_VEHICLE_ID,0,-1,-1,-1,100.0);
Reply
#4

show the code
Reply
#5

try to create a 3d label not a dynamic one, and let's see if it will work or not
Reply
#6

It won't work I try already. Thanks

edit. I also use dynamic3dlabel for admin on dduty and when player turn off duty laabel is removed
Reply
#7

try to create the dynamic3DLabel when a player connect

and then when a player get muted attach it to him
and when he get unmuted delete it to hide it and then create it again
it should work
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)