SA-MP Forums Archive
[HELP] dynamic3dtext label mute - 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: [HELP] dynamic3dtext label mute (/showthread.php?tid=540594)



[HELP] dynamic3dtext label mute - Luca12 - 05.10.2014

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]);



Re: [HELP] dynamic3dtext label mute - Eth - 05.10.2014

Show me the muting Dynamic3dtextlabel :P


Re: [HELP] dynamic3dtext label mute - Luca12 - 06.10.2014

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);



Re: [HELP] dynamic3dtext label mute - Ari - 06.10.2014

show the code


Re: [HELP] dynamic3dtext label mute - Eth - 06.10.2014

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


Re: [HELP] dynamic3dtext label mute - Luca12 - 06.10.2014

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


Re: [HELP] dynamic3dtext label mute - Eth - 06.10.2014

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