SA-MP Forums Archive
3dtext in all virtualworlds - 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: 3dtext in all virtualworlds (/showthread.php?tid=611182)



3dtext in all virtualworlds - MayaEU - 03.07.2016

How can i make this one show in all virtual worlds -1 doesnt work

pawn Код:
Create3DTextLabel("[/buyclothes]",0xFFFFFFFF, 217.6668,-98.4731,1005.2578, 20,27,1);



Re: 3dtext in all virtualworlds - Mencent - 03.07.2016

Hello!

You have to create for each virtual world a new 3d text label.
Like this:
PHP код:
Create3DTextLabel("[/buyclothes]",0xFFFFFFFF217.6668,-98.4731,1005.257820,27,1);// virtual world: 27 
PHP код:
Create3DTextLabel("[/buyclothes]",0xFFFFFFFF217.6668,-98.4731,1005.257820,28,1);// virtual world: 28 
PHP код:
Create3DTextLabel("[/buyclothes]",0xFFFFFFFF217.6668,-98.4731,1005.257820,29,1);// virtual world: 29 



Re: 3dtext in all virtualworlds - MayaEU - 03.07.2016

Okay thank you


Re: 3dtext in all virtualworlds - Konstantinos - 03.07.2016

The wiki mentions that using -1 as a virtual world will NOT display the text. Best option you have is using streamer plugin and dynamic 3D text labels which by default are shown to all players, virtual worlds and interior IDs.