qMartis Posted July 25, 2019 Share Posted July 25, 2019 (edited) https://gyazo.com/f345a4f53c0e1caa3644a3ec59e98dc1 mp.events.add('freeze', (player, x,y,z, xa, xs) => { mp.players.local.freezePosition(true); let sceneryCamera = mp.cameras.new('default', new mp.Vector3(x-5, y, z), new mp.Vector3(0,0,0), 140); sceneryCamera.pointAtCoord(xa, xs, z); //Changes the rotation of the camera to point towards a location sceneryCamera.setActive(true); mp.game.cam.renderScriptCams(true, false, 0, true, false); moneyData.execute('$(".Money_have").empty()') moneyData.execute('var alertElement = $(\'<h2 style="color:#fff; text-align:center;">'+x+'</h2> \'); \ $(\'.Money_have\').append(alertElement);'); }); Edited July 25, 2019 by qMartis Link to comment Share on other sites More sharing options...
qMartis Posted July 25, 2019 Author Share Posted July 25, 2019 fixed 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