Client-side functions: Difference between revisions

From RAGE Multiplayer Wiki
(→‎Graphics: Removed drawText3d as drawText overrides functionality)
Line 520: Line 520:
* [[Graphics::notify|Graphics::notify(text)]]
* [[Graphics::notify|Graphics::notify(text)]]
* [[Graphics::drawText|Graphics::drawText(text, fontId, colourRGBA, scaleX, scaleY, outline, x, y[, z])]]
* [[Graphics::drawText|Graphics::drawText(text, fontId, colourRGBA, scaleX, scaleY, outline, x, y[, z])]]
* [[Graphics::drawText3d|Graphics::drawText3d(text, pos, rotation, scale, r, g, b, a[, initialOffsetScaled])]]
* [[Graphics::getSafeZoneSize|Graphics::getSafeZoneSize()]]
* [[Graphics::getSafeZoneSize|Graphics::getSafeZoneSize()]]
* [[Graphics::createCheckpoint|Graphics::createCheckpoint(type, posX1, posY1, posZ1, posX2, posY2, posZ2, radius, colorR, colorG, colorB, alpha, reserved)]]
* [[Graphics::createCheckpoint|Graphics::createCheckpoint(type, posX1, posY1, posZ1, posX2, posY2, posZ2, radius, colorR, colorG, colorB, alpha, reserved)]]

Revision as of 21:35, 25 September 2017

Attention: work is still in progress. There still could be major changes in design of API.

Event functions

Vector3 functions

Entity (player, vehicle, object) functions

Player functions

Vehicle functions

Object functions

  • [[Object::disableGlow|mp.game.object.disableGlow

Pickup functions

Template:Pickup function c

Blip functions

Camera functions

Entity pool functions

WebBrowser functions

Key binding functions

Chat functions

  • Functions:
    • chat.push
    • chat.activate
    • chat.show
  • Properties:
    • chat.safe
    • chat.colors

Cursor functions

  • Properties:
    • cursor.visible
    • cursor.position

Nametags functions

  • Functions:
    • nametags.update
  • Properties:
    • nametags.enabled

Storage functions

UI functions

Template:UI function c

Global functions

App

Audio

Brain

Cam

Controls

Cutscene

Datafile

Decisionevent

Decorator

Dlc1

Dlc2

Entity

Fire

Gameplay

Graphics

Properties:

Functions:

Interior

Itemset

Mobile

Object

Pathfind

Ped

Peds

Player

Rope

Script

Stats

Streaming

System

Time

Ui

Unk

Recorder

Vehicle

Water

Weapon

Worldprobe

Zone

Game Globals