Rimeau Posted December 30, 2020 Share Posted December 30, 2020 Hello, when working on a new script we noticed that the "playerEnterCheckpoint" event does not contain the handle of the checkpoint. This code returns "checkpoint is type undefined": mp.events.add("playerEnterCheckpoint", (player, checkpoint) => { mp.gui.chat.push("checkpoint is type " + typeof(checkpoint)); }); Furthermore, mp.checkpoints.new does not seem to return the handle, so there is no good way of tracking which checkpoint a player entered right now. Since there is no bug report area we are posting in Support. Link to comment Share on other sites More sharing options...
Rimeau Posted December 31, 2020 Author Share Posted December 31, 2020 Please disregard, the event does not have a player parameter client side, it does work after all. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now