natives.createCheckpoint: Difference between revisions

Jump to navigation Jump to search
Blanked the page
(Created page with "{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.drawCheckpoint |parameters = float x, float y, float z, float radius, int r, int g, int b, int a |parameter1 = float x X coordinate of the checkpoint |parameter2 = float y Y coordinate of the checkpoint |parameter3 = float z Z coordinate of the checkpoint |parameter4 = float radius Radius of the checkpoint circle |parameter5 = int r Red component (0–255) |parameter6 = int g Green component (0...")
 
(Blanked the page)
Tag: Blanking
 
Line 1: Line 1:
{{ScriptItem
 
|endpoint = client
|games = iv
|type = function
|name = natives.drawCheckpoint
|parameters = float x, float y, float z, float radius, int r, int g, int b, int a
|parameter1 = float x X coordinate of the checkpoint
|parameter2 = float y Y coordinate of the checkpoint
|parameter3 = float z Z coordinate of the checkpoint
|parameter4 = float radius Radius of the checkpoint circle
|parameter5 = int r Red component (0–255)
|parameter6 = int g Green component (0–255)
|parameter7 = int b Blue component (0–255)
|parameter8 = int a Alpha component (0–255)
|usage = Draw a visual checkpoint marker at given coordinates
|notes =
- Must be called inside a rendering event such as [[OnDrawnHUD]] so the marker is drawn each frame
- Color and radius allow customization of the checkpoint’s appearance
|return1 = void
|exampleJS = natives.drawCheckpoint(100.0, 200.0, 20.0, 3.0, 255, 0, 0, 200);
}}
58

edits

Navigation menu