Jump to content

Recommended Posts

Posted

Checkpoints created on clientside have too large range.

const maximum_range_checkpoint = mp.checkpoints.new(47, new mp.Vector3(-1332.44, -5.343296527862549, 49.109183502197266), 37);
mp.events.add("playerEnterCheckpoint", (checkpoint) => {
    mp.gui.chat.push(`You entered to ${checkpoint.id}`);
});
mp.events.add("playerExitCheckpoint", (checkpoint) => {
    mp.gui.chat.push(`You left ${checkpoint.id}`);
});

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...