Skip to main content

Checkpoint::hideFor

Not available on SYNC MP yet

This member is part of the RAGE:MP API but SYNC MP does not implement it yet (Server-side JavaScript). Calling it does nothing or throws.

Hiding a checkpoint for a particular player

Parameters​

  • **player:**Player

Example​

Server-Side

const checkpoint = mp.checkpoints.new(2, new mp.Vector3(10, 10, 72), new mp.Vector3(), 4, 255, 255, 255, 255, true);
const player = mp.players.at(0);
checkpoint.hideFor(player);