Category:Incomplete Functions

From RAGE Multiplayer Wiki

Incomplete Functions

This page is for incomplete functions.

If you find any pages with missing elements. Please add {{Incomplete_Functions}}, so that it can be documented. If you are able to provide the required elements to the page, then we will be very thankful for your contribution.

The Page should contain the following:

Table of Contents

__TOC__

Function/Event header

Function/Event header
For functions: {{ServersideJsFunction}} or {{ClientsideJsFunction}}
For events: {{ServersideJsEvent}} or {{ClientsideJsEvent}}

Language syntax container

{{JSContainer|

}}

{{CSharpContainer|

}}


Syntax

Syntax is required to be inside <pre></pre> and to be inside the language syntax container.

Required Arguments

Add each argument in a point with its type

*'''arg''': {{RageType|argType}} (extra description)

if its a required argument

*{{Required}}'''arg''': {{RageType|argType}} (extra description)
  • *player: Object (Specified player object)


Example

Examples are required to be inside its function's category

  • Serverside:

{{ServersideCode| <pre>Code here</pre> }}

  • Clientside:

{{ClientsideCode| <pre>Code here</pre> }}

  • Shared:

{{SharedCode| <pre>Code here</pre> }}

Final Form

The outline should look like this

Server-Side
Function

 JavaScript



JavaScript Syntax

Syntax

syntax(...args);

Required Arguments

  • *arg1: String (Random string)
  • arg2: Int (Random integer)

Example

Server-Side
// Example code here