Jump to content

[info/help] exit/enter in vehicle


HunT

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...