Rimeau 0 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 post Share on other sites
Rimeau 0 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 post Share on other sites
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