Jump to content

Recommended Posts

@Spanden You've left out function argument parameters.

function newSetPause(...) + oldSetPause(...)

If you want to know the arguments and to future proof it:

function newSetPause(val, reason, ...) + oldSetPause(val, reason, ...)

 

The three dots for an argument means in LUA: "There are any amount of additional arguments here, please handle all of them for me."

It can only exist as the last argument in a function declaration.

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
×
  • Create New...