Blackvein Posted July 20, 2010 Share Posted July 20, 2010 is it possible to bind arguments to a key? the syntax for the command i want to bind is ''/spawnbot [skinid] [weaponid]''. i can bind a button to the command ''spawnbot'', but im just wondering how i would be able to add the skin and weapon arguments. can anyone help?y Link to comment
50p Posted July 20, 2010 Share Posted July 20, 2010 -- server-side bindKey( player, "YOURKEY", "down", "spawnbot", "0 32" ); -- /spawnbot 0 32 or -- client-side bindKey( "YOURKEY", "down", "spawnbot", "0 32" ); -- /spawnbot 0 32 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