Jump to content

Keybinds don't work after 1 trigger


Recommended Posts

Posted (edited)
mp.keys.bind(0x45,true,function() {
//chat gui push
})

 

 

 

it clears itself? like after pressing the E key, then it doesn't work anymore, its like a 1 time thing without having any return or anything there, should i recurssively bind it? or what

 

aparently this bugs out because of mp gui cursor show and i enable freeze controls, however i do unfreeze then in a later event call that happens when the ui is closing and it works, but it still doesnt unload the frozen controls ?

Edited by krane
it was misformated

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...