How to make one like that?
#1

Hi All How to make one like that with colours



+ REP who help me Thanks!
Reply
#2

https://sampwiki.blast.hk/wiki/Create3DTextLabel

you may use color embedding for using various colors in the text regardless of the one desired in the function
Reply
#3

Just give me a example code
Reply
#4

You have to use 3dtext label to create the text and use hex colors to colour the text.
PHP код:
https://wiki.sa-mp.com/wiki/Create3DTextLabel 
hex colours:
PHP код:
https://wiki.sa-mp.com/wiki/Hex_colours 
use this method to colour the text of label / dialog / message:
PHP код:
http://forum.sa-mp.com/showthread.php?t=250389 
Reply
#5

Quote:
Originally Posted by DavidGravelli
Посмотреть сообщение
Just give me a example code
Код:
public OnGameModeInit()
{
    Create3DTextLabel("{FF0000}Red text", -1,0.0,0.0,0.0,100.0,0,0);
    return 1;
}
Reply
#6

Where to put FloatX And FloatY And FloatZ
Reply
#7

Quote:
Originally Posted by DavidGravelli
Посмотреть сообщение
Where to put FloatX And FloatY And FloatZ
Those parameters are meant to be for the coordinates in-game. You can use /save to save your current position in-game at the place you want it and then copy the X, Y and Z over. You might want to add a bit of height to the Z axis as it will be near your feet, you could always play around with the coordinates till you are satisfied.
Reply
#8

pawn Код:
public OnGameModeInit()
{
    Create3DTextLabel("{FF0000}Bank of Los Santos\n{FFFFFF}Commands: /balance /deposit /withdraw", -1, X, Y, Z, 40.0, 0, 0);
    return 1;
}
X, Y, Z are the coordinates of where you want the text to be as said above, use /save.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)