KraeuterErich Posted February 14, 2020 Share Posted February 14, 2020 (edited) Hi there, i've started recently with rage mp, developing on node. I've run into some problems with client side programming. This is my example code: require('./car/events.js'); mp.game.ui.setNewWaypoint(-400, 1300); mp.checkpoints.new(1, new mp.Vector3(-400,1150,325), 8, {color: [ 255,50,50,255], visible: true}) mp.events.add("playerEnterCheckpoint", (checkpoint) => { mp.game.fire.startScriptFire(-420, 1180, 325.8, 30, false); checkpoint.radius =+ 5; }); The waypoint and the checkpoint is visible, but the event doesn't seem to work. Attempts with other events like playerJoin in combination with simple chat outputs failed too. I'm not sure if i've missed something or are there problems with client side javascript? Exist these problems with C# too? Edited February 14, 2020 by KraeuterErich Misspost 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