GGTTPO100AJIEX_YT 0 Posted October 16, 2020 Share Posted October 16, 2020 Hello! I have encountered a very strange problem recently. I have client-side: function goToZeroFromCSGO() { mp.gui.chat.show(true); mp.gui.cursor.show(false, false); mp.game.graphics.notify('test'); mp.events.callRemote("leaveCSGO"); } and server-side: mp.events.add("leaveCSGO", (player) => { console.log('!' + player.name); mp.events.call('playerGoToZeroDimension', player); }); I get the test notification, but I do not get player.name to the console. Seems like callRemote does not call the server-side event. What is the problem here? How to fix it? Link to post Share on other sites
sha512boo 0 Posted October 16, 2020 Share Posted October 16, 2020 Can you send log of (player) object? Link to post Share on other sites
GGTTPO100AJIEX_YT 0 Posted October 16, 2020 Author Share Posted October 16, 2020 11 minutes ago, sha512boo said: Can you send log of (player) object? the event does not trigger on the server. Link to post Share on other sites
Armyw0w 38 Posted January 14 Share Posted January 14 You are sure that goToZeroFromCSGO it's called? 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