razvan2299 Posted August 28, 2014 Share Posted August 28, 2014 So I made the following binds for : Z-Uses command /seatbelt C-Uses command /cc X-Uses command /togwindow G-Uses /handbrake Client Side: addEventHandler( "onClientResourceStart", resourceRoot, function( ) bindKey( "G", "down", "handbrake" ) end ) addEventHandler( "onClientResourceStart", resourceRoot, function( ) bindKey( "c", "down", "cc" ) end ) addEventHandler( "onClientResourceStart", resourceRoot, function( ) bindKey( "x", "down", "togwindows" ) end ) addEventHandler( "onClientResourceStart", resourceRoot, function( ) bindKey( "z", "down", "seatbelt" ) end ) Meta: <meta> <info author="Daniel" type="script" name="Binds" description="Binds" /> <script src="c_binds.lua" /> </meta> But this still doesn't work..Any help? Link to comment
Castillo Posted August 28, 2014 Share Posted August 28, 2014 If you don't specify which script type is it, the default is "server side". Change it to: 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