[Standalone] NextGen Callbacks

[NextGen] Callbacks

  • Client -> Server -> Client (Server Callbacks).

  • Server -> Client -> Server (Client Callbacks). **

  • Able to send data thru the callback and not just on the return via cb(). **

[Credits]

These callbacks were originally made by xander1998 and I came across these inside DRP (cfx.re post). I have gotten permission to post our edits (**) to it from Xander.

[Information]

I have removed the callbacks from our frameworks core (NextGen) and made them standalone. Aside from the edits (**) listed above, some other minor changes were done in order to itegrate it into our codebase.
I have also used this standalone version in various places within our framework (replacing the callbacks inside our core) for testing and it works perfectly! The example code given also works without issues.
It’s like 2head simple and should work out of the box as long as you have at least 1 brain cell.

[Download Here] <— Github Repo

8 Likes

Nice! I’ve wanted a standalone cb for a while, thanks for releasing this.

Nice work

GODLY :slight_smile: Nice one brudda

1 Like