CreateTextLabel

From RAGE Multiplayer Wiki
Revision as of 09:30, 30 November 2019 by Xabi (talk | contribs) (Created page with "Creates a floating text label. {{CSharpContainer| {{#tag:syntaxhighlight|TextLabel {{Template:CSharp_Serverside_namespace}}TextLabel.CreateTextLabel(string text, Vector3 pos...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Creates a floating text label.


C# Syntax

TextLabel NAPI.TextLabel.CreateTextLabel(string text, Vector3 pos, float range, float size, int font, Color color, bool entitySeethrough = false, uint dimension NAPI..GlobalDimension);

Parameters

  • string : parameter input should be in string type
  • pos: parameter input should be in Vector3 type
  • range: parameter input should be in float type
  • size: parameter input should be in float type
  • font: parameter input should be in int type
  • color: parameter input should be in Color type
  • entitySeethrough: optional parameter, input should be in bool type
  • dimension: optional parameter, input should be in uint type


Example

// Code here...