Minotaur Posted June 28, 2013 Posted June 28, 2013 Hey all! I want one bind. for example i press 4 im in hunter.. thanks in advance and please help me
#Al-Ha[J]aRii Posted June 28, 2013 Posted June 28, 2013 Hey all! I want one bind. for example i press 4 im in hunter.. thanks in advance and please help me bindKey and only in hunter or ?
iPrestege Posted June 28, 2013 Posted June 28, 2013 Events : onVehicleStartEnter onVehicleStartExit Functions : bindKey unbindKey getElementModel -- source
PaiN^ Posted June 29, 2013 Posted June 29, 2013 What do you mean by "bind command" ?? To bind a key to a command handler / function use bindKey, example : --// client-side script ! addEventHandler( "onClientResourceStart", resourceRoot, function( ) bindKey( "F1", "down", "report" ) end ) This should bind the "F1" button to the report command from the admin resource ( which opens the report GUI ) .
Castillo Posted June 30, 2013 Posted June 30, 2013 You really need to explain yourself better, because I didn't understand anything of what you said.
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