Перейти к содержанию

Client Property Template

Материал из RAGE MP Wiki Archive
Версия от 14:09, 26 октября 2018; imported>Rootcause
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)
Client-Side

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

Syntax

example.prop = str;

Attribute Types

  • Getter: Explanation of getter type, output should be in string type.
  • Setter: Explanation of setter type, input should be in string type.

Examples

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

Client-Side
//Getter Type
let val = example.prop;

//Setter Type
example.prop = "Example String";

See Also