SA-MP Forums Archive
CreateDynamic3DTextLabel - 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: CreateDynamic3DTextLabel (/showthread.php?tid=278400)



CreateDynamic3DTextLabel - Storm203 - 22.08.2011

I was wondering how to make the CreateDynamic3DTextLabel function display a text with a slight border to make it contrast more, kind of like chat does. Is this at all possible? How would I do it?


Re: CreateDynamic3DTextLabel - =WoR=G4M3Ov3r - 22.08.2011

PHP Code:
CreateDynamic3DTextLabel(const text[], colorFloat:xFloat:yFloat:zFloat:drawdistanceattachedplayer INVALID_PLAYER_IDattachedvehicle INVALID_VEHICLE_IDtestlos 0worldid = -1interiorid = -1playerid = -1Float:distance 100.0); 
Its Amazing what the Search Button can do, these days.


Re: CreateDynamic3DTextLabel - Storm203 - 22.08.2011

That doesnt help me. At least not as far as I can see. Maybe you could tell me which one of those parameters gives it the "border" look.


Re: CreateDynamic3DTextLabel - =WoR=Varth - 22.08.2011

It's color.


Re: CreateDynamic3DTextLabel - Storm203 - 22.08.2011

Okay, and when I set the color to my predefined COLOR_YELLOW, I get a label that almost blends in. Here. Let me give you a SS of what I want it to look like



The top part is the 3DTextLabel from another server. Notice the slight black outline to make the yellow contrast, kind of like the text (cropped out of chat) has on the bottom part


Re: CreateDynamic3DTextLabel - =WoR=Varth - 22.08.2011

You mean you want to set "Outline Text"?


Re: CreateDynamic3DTextLabel - Storm203 - 22.08.2011

Sounds right. Im new at scripting, but that sounds like what I want to do.