SA-MP Forums Archive
3D Text Labels in all Virtual Worlds - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: 3D Text Labels in all Virtual Worlds (/showthread.php?tid=184911)



3D Text Labels in all Virtual Worlds - Gforcez - 22.10.2010

Hello,
How can i make, That a 3DTextLabel Shows in all Virtual worlds,
Do you know how to make this?


Re: 3D Text Labels in all Virtual Worlds - LarzI - 22.10.2010

Loop through all virtual worlds and use that variable to set vw in the Create3DTextLabel function.

pawn Код:
new iVW = 0;
while( iVW < the_highest_virtualworld_id_here )
{
    Create3DdTextLabel( "something", color, x, y, z, draw, iVW );
    iVW++;
}



Re: 3D Text Labels in all Virtual Worlds - IstuntmanI - 22.10.2010

or try only

Код:
Create3DTextLabel( "Text", color, X, Y, Z, draw_distance, -1 );
-1 = all virtual worlds (I think)


Re: 3D Text Labels in all Virtual Worlds - LarzI - 22.10.2010

Quote:
Originally Posted by costel_nistor96
Посмотреть сообщение
or try only

Код:
Create3DTextLabel( "Text", color, X, Y, Z, draw_distance, -1 );
-1 = all virtual worlds (I think)
Might be.
I've never worked with 3D labels, so I won't know.


Re: 3D Text Labels in all Virtual Worlds - Spiral - 22.10.2010

-1 shows for all virtual worlds so its easier then, LarzI-s.