Dentos Posted August 19, 2014 Share Posted August 19, 2014 So im trying make it do when you press "G" it automatcly binds you this / bind G chatbox gc (like a default bind for my server) I tired this.. didnt work out bindKey("G", "down", "chatbox gc", "GangChat") Link to comment
Anubhav Posted August 19, 2014 Share Posted August 19, 2014 bindKey("G", "down", GangChat) Link to comment
Dentos Posted August 19, 2014 Author Share Posted August 19, 2014 but i want to bind this automatclly to everyone join server /bind G chatbox gc im trying use this https://community.multitheftauto.com/in ... ls&id=6879 Link to comment
Anubhav Posted August 19, 2014 Share Posted August 19, 2014 function bindMyKey() local toMy = root or source bindKey(toMy,"G", "down", "gc") end addEventHandler("onPlayerJoin", root, bindMyKey) addEventHandler("onResourceStart", root, bindMyKey) 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