Jump to content

[REL] DX Text


Chuck_Norris

Recommended Posts

ah ok sorry didnt pay enough attention, not that its not easily handable, but k...

Not easy to use? Okay, I admit I guess I should write which line which you will need to change, sorry.

add3DText(x,y,z,"text",r,g,b) [line 26]

example

add3DText(1337,-1337,1337,"text",250,250,250)

This will create a text at the 1337, 1337, 1337 coordinates with the 250,250,250 rgb color code which is white.

To add another text, simply add another line with the new position.. an example:

add3DText(128,-28,28,"Another text hehe",0,255,0)

This will obviously create a text at the 128,-28,28, coordinate but this time with a yellow color.

to change the font simply change the "sans" to the wished font, like "pricedown" the lines you will need to change is:

16

32

And, to change the maxrage edit the maxrange = 12 to whatever number which will fit you. This resource was created to make texts over a NPC in a RPG Game-mode.

as I get the cordinate X,Y,Z?

Yes, open your admin panel or freeroam panel, check your position then add it to line 26 as I said, change the r,g,b to the actual rgb color code and change "text" to which text you want to use.

I made this script a long time ago.

viewtopic.php?f=108&t=32083

At least it's not stolen, I saw the source.

I had no idea you had made such script, I'm quite new to the forums/community resources as I've been isolated developing an server which never launched..

Link to comment
ah ok sorry didnt pay enough attention, not that its not easily handable, but k...

Not easy to use? Okay, I admit I guess I should write which line which you will need to change, sorry.

Believe me, karlis knows.

No need to give him an tutorial.

Link to comment
ah ok sorry didnt pay enough attention, not that its not easily handable, but k...

Not easy to use? Okay, I admit I guess I should write which line which you will need to change, sorry.

Believe me, karlis knows.

No need to give him an tutorial.

I know, someone else might need it tho

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...