Words on top of icons?
#1

Ive seen servers that have like for example /deposit or /withdraw as words on top of a money icon. how can i do that?
Reply
#2

pawn Код:
native Create3DTextLabel(text[], color, Float:X, Float:Y, Float:Z, Float:DrawDistance, virtualworld, testLOS)


/*
text[]  The initial text string.
color   The text Color
x   X-Coordinate
y   Y-Coordinate
z   Z-Coordinate
DrawDistance    The distance from where you are able to see the 3D Text Label
VirtualWorld    The virtual world in which you are able to see the 3D Text
testLOS 0/1 Test the line-of-sight so this text can't be seen through objects



Important Note: If text[] is empty, the server/clients next to the text might crash!
Note: Use color embedding for multiple colors in the text.

*/
Example


pawn Код:
public OnGameModeInit()
{
    Create3DTextLabel("Peter is awesome", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0, 0);
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)