Scripting/Client/Classes/Text3D_v0_2_9_r2/Text3D
Creates the text. position is a Vector or {x,y,z} table. radius > 0 hides it beyond that distance (with a fade).
Syntax
Text3D(text, position [, radius])Text3D(text, x, y, z [, radius])Arguments
- string text
- Vector position –
positionis aVectoror{x,y,z}table. - float radius (optional) –
radius> 0 hides it beyond that distance (with a fade). - float x
- float y
- float z
Returns
Text3D or null
Example
function onScriptLoad()
{
local result = Text3D( "Hello world", player.Pos );
MessagePlayer( "Text3D returned: " + result, player );
}This sample was generated from the signature – adapt the values to your gamemode.
Related pages
Section: Text3D (v0.2.9-r2+)
Categories: Client methods | Text3D (v0.2.9-r2+)