Checkpoint::showFor

From RAGE Multiplayer Wiki
Revision as of 19:19, 10 January 2018 by MrMolokov (talk | contribs) (→‎Example)

Showing a checkpoint for a particular player

Parameters

  • player: Player

Example

Server-Side
const checkpoint = mp.checkpoints.new(2, new mp.Vector3(10, 10, 72), 5, new mp.Vector3(), 4, 255, 255, 255, 255, false);
const player = mp.players.at(0);
checkpoint.showFor(player);

See Also