Checkpoint::Checkpoint: Difference between revisions
m (category) |
mNo edit summary |
||
| Line 32: | Line 32: | ||
[[Category:Checkpoint]] | [[Category:Checkpoint]] | ||
[[Category:Shared | [[Category:Shared Function]] | ||
Revision as of 11:17, 30 April 2019
Function: Creates a Checkpoint.
Parameters
- type: Number
- position: Vector3
- radius: Number
- Mandatory parameters: object:
- direction: Vector3
- color: number[4]
- red: number Between 0 and 255
- green: number Between 0 and 255
- blue: number Between 0 and 255
- alpha: number Between 0 and 255
- visible: Boolean
- dimension: Number
Example
mp.checkpoints.new(1, new mp.Vector3(0, 0, 75), 10,
{
direction: new mp.Vector3(0, 0, 75),
color: [ 255, 255, 255, 255 ],
visible: true,
dimension: 0
});
See Also
- Functions
- Properties