Giter Site home page Giter Site logo

callbacks's Introduction

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


[Installation]


Drop it inside your server's resources folder and ensure it in the cfg. Done. Now isn't that just ezclap??


[FAQ]


  • "It's not working."
    • Stop being a potato. I have no issues on my end so... 2 + 2 = It's your codes fault. Quik maffs.
  • "Why allow Client Callbacks??"
    • Cause why not breh.
  • "What would we use them for??"
    • If you're from the US then this should sound familiar xD -> "It's better to have it and not need it, than to need it and not have it."
  • hopefullynotyou
    • Don't be that guy^^. Be a Chad.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.