Client-side functions: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
Line 514: Line 514:
Functions:
Functions:
* [[Graphics::notify|Graphics::notify(text)]]
* [[Graphics::notify|Graphics::notify(text)]]
* [[Graphics::drawText|Graphics::drawText(text, fontId, colourRGBA, scale, 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::drawText3d|Graphics::drawText3d(text, pos, rotation, scale, r, g, b, a[, initialOffsetScaled])]]
* [[Graphics::getSafeZoneSize|Graphics::getSafeZoneSize()]]
* [[Graphics::getSafeZoneSize|Graphics::getSafeZoneSize()]]

Revision as of 18:52, 6 August 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

Cursor functions

  • Properties:
    • cursor.visible
    • cursor.position

Nametags functions

  • Functions:
    • nametags.update
  • Properties:
    • nametags.enabled
  • Tutorials:
    • Nametag style customization (TODO)
    • Implementing custom nametags from scratch (TODO)

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

Player

Rope

Script

Stats

Streaming

System

Time

Ui

Unk

Recorder

Vehicle

Water

Weapon

Worldprobe

Zone

Game Globals