Z4Zy Posted March 30, 2018 Share Posted March 30, 2018 What's the wrong with below code ?? local col = createColCuboid ( 0, 0, 3, 20, 20, 20 ) function disable ( thePlayer, matchingDimension ) unbindKey ( thePlayer, "F1", "down", fr ) end addEventHandler ( "onColShapeHit", col, disable ) need to disable Freeroam menu in that area Link to comment
Discord Moderators Pirulax Posted March 30, 2018 Discord Moderators Share Posted March 30, 2018 Is is client, or server-side? Link to comment
Z4Zy Posted April 1, 2018 Author Share Posted April 1, 2018 On 3/30/2018 at 21:53, Pirulax said: Is is client, or server-side? I added it to server side. Link to comment
Discord Moderators Pirulax Posted April 2, 2018 Discord Moderators Share Posted April 2, 2018 Could you use /debugscript 3?I dont know whats the problem with it. Link to comment
Z4Zy Posted April 5, 2018 Author Share Posted April 5, 2018 when a player hit the colshape fr_gui should unbind...!! but it doesn't happens Link to comment
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