Results 1 to 3 of 3
  1. #1
    Join Date
    October 2015
    Germany, Bavaria

    Question is there a onClientConnectToServer Event?

    I need to catch an event of a client connecting.
    Though I didn't find any callback in the example header of the APIv22.
    Is there some sort of function on catch a client connecting to the server?
    Or would you use the onClientMoveTimeoutEvent?
    Is that why the onClientMoveTimeoutEvent callback has the newChannelID parameter?
    And if not, why would it have one?? Isn't the function just called when a client leaves or times out or something?

  2. #2
    Join Date
    August 2018
    OnClientMoveEvent is what you need

  3. #3
    Join Date
    January 2019
    The OnClientMoveEvent will do the trick as the above person stated, just check if the oldChannelID is equal to NULL. That will tell you if it is someone joining the server. Equally if newChannelID is equal to NULL then that is a client exiting the sever.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. iOS | On Join Event Pop-Up
    By SossenSystems in forum iOS
    Replies: 4
    Last Post: January 23rd, 2018, 02:13 PM
  2. Event when client uses ptt key
    By RedPuma in forum Client Plugins / Lua Scripts
    Replies: 1
    Last Post: December 19th, 2016, 10:25 AM
  3. on mute event?
    By barricas in forum Client Plugins / Lua Scripts
    Replies: 5
    Last Post: March 17th, 2013, 09:16 PM
  4. onclientconnect event?
    By freekster in forum Client Plugins / Lua Scripts
    Replies: 4
    Last Post: September 28th, 2012, 08:34 AM
  5. [Request] New SDK event
    By fredtrq in forum Suggestions and Feedback
    Replies: 0
    Last Post: September 12th, 2012, 06:54 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts