Jump to content

[QUESTION] Submarine


Dzsozi (h03)

Recommended Posts

function fCancelEvent() 
-- if you are in a submarine 
cancelEvent () 
-- if end 
end 
  
addEventHandler ( "onClientPlayerDamage", getRootElement(), fCancelEvent ) 

Use this to not die underwater when in a submarine, for the rest you can create your own bindKey and make new controls but I don't know if there's a way to cancel the water physics holding you from going underwater.

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...