HunT Posted August 28, 2012 Share Posted August 28, 2012 Hi guys. Who I can enable the key F for exit enter in vehicle? But with race gamemode Tnx Link to comment
sockz Posted August 28, 2012 Share Posted August 28, 2012 Notepad++ > CTRL F > search in files Link to comment
HunT Posted August 28, 2012 Author Share Posted August 28, 2012 Notepad++ > CTRL F > search in files Ehmm. . . U not understand the question. Link to comment
gokalpfirat Posted August 28, 2012 Share Posted August 28, 2012 In race I think in race_server there was a bind Key for enter you should look. Link to comment
HunT Posted August 28, 2012 Author Share Posted August 28, 2012 In race I think in race_server there was a bind Key for enter you should look. Mhh. . . Maybe I need look the function in play mode. Link to comment
gokalpfirat Posted August 28, 2012 Share Posted August 28, 2012 Find this at race_client.lua function kill() if Spectate.active then if Spectate.savePos then triggerServerEvent('onClientRequestSpectate', g_Me, false ) end else Spectate.blockManual = true triggerServerEvent('onRequestKillPlayer', g_Me) Spectate.blockManualTimer = setTimer(function() Spectate.blockManual = false end, 3000, 1) end end addCommandHandler('kill',kill) addCommandHandler('Commit suicide',kill) bindKey ( next(getBoundKeys"enter_exit"), "down", "Commit suicide" ) Link to comment
HunT Posted August 28, 2012 Author Share Posted August 28, 2012 Sounds good,later check thank u. 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