Checkpoint::radius: Difference between revisions

From RAGE Multiplayer Wiki
m (Replaced HTML with template)
m (cate)
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:


==Getter==
==Getter==
* '''<span style="color:#008017">Float</span>'''
* {{RageType|Number}} in float
==Setter==
==Setter==
* '''<span style="color:#008017">Float</span>'''
* {{RageType|Number}}


== Example ==
== Example ==
Line 16: Line 16:
}}
}}


==See Also==
[[Category:Checkpoint API]]
{{Checkpoint_function}}
[[Category:Server-side Property]]

Latest revision as of 16:49, 17 May 2019

This property is used to set or get the radius of the checkpoint.

Getter

  • Number in float

Setter

  • Number

Example

Server-Side
const radius = checkpoint.radius; // get checkpoint radius
console.log(radius);

checkpoint.radius = 5; // set checkpoint radius