Client Function Template

From RAGE Multiplayer Wiki
Revision as of 23:10, 4 February 2018 by TedJr (talk | contribs) (Created page with "{{ClientSide}} This is an example description for a client-side function template. == Syntax == <syntaxhighlight lang="javascript"> example.func(arg1, arg2, arg3); </syntax...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Client-Side

This is an example description for a client-side function template.

Syntax

example.func(arg1, arg2, arg3);

Parameters

  • arg1: Explanation of example argument, parameter should be in string type.
  • arg2: Explanation of second example argument, parameter should be in int type.
  • arg3: Explanation of third example argument, parameter should be in double type.

Returned Values

  • true: if the example function has been executed successfully.
  • false: otherwise.

Examples

This is a basic explanation about what does the example below do.

let val = example.func("Washington", 1, 2.0);

See Also