HunT Posted August 28, 2012 Posted August 28, 2012 Hi guys. Who I can enable the key F for exit enter in vehicle? But with race gamemode Tnx
HunT Posted August 28, 2012 Author Posted August 28, 2012 Notepad++ > CTRL F > search in files Ehmm. . . U not understand the question.
gokalpfirat Posted August 28, 2012 Posted August 28, 2012 In race I think in race_server there was a bind Key for enter you should look.
HunT Posted August 28, 2012 Author 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.
gokalpfirat Posted August 28, 2012 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" )
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