Floating text
#1

Hey again! How can I make a floating text at some point? Like near a gate, the floating text is like : To open this gate type /gated etc etc.
How can I make that text? I don't want it to be on marker approach I want it to be like this:

http://i.imgur.com/4vG65xU.png

Does anyone know how to make it? BTW. Coords where it should be are:


2075.3000488281,1394,10.699999809265
Reply
#2

https://sampwiki.blast.hk/wiki/Create3DTextLabel
Reply
#3

Change the cordinates if they are wrong
Quote:

Create3DTextLabel("/gated",Color,2075.3000488281,1394.0,10.69999980926 5, 20,0,0);

Reply
#4

Quote:
Originally Posted by Clad
Посмотреть сообщение
Change the cordinates if they are wrong
No offense intended here. But how can you expect someone to get better at coding if you're providing the code for them? my link provided the function, he has the coordinates himself. If he applies the correct logic, he'll get it it no time.
Reply
#5

Quote:
Originally Posted by DobbysGamertag
Посмотреть сообщение
No offense intended here. But how can you expect someone to get better at coding if you're providing the code for them? my link provided the function, he has the coordinates himself. If he applies the correct logic, he'll get it it no time.
Yes, You're right, We should give them the way, Thanks .
Reply
#6

I read things from DobysGamertag and it worked, no need to paste me the code, that way I'll never get better at scripting :S Logic is strong with this one, so I got it right. Coords I pasted weren't right though. I got it right. As I said no need to paste me the code. I'm not mental or something :S
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)