Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    August 2018

    Client IDs assigned from 0 oder 1?

    Do client IDs start from 1 or from 0? I want to use my own functions with default param values and optional user ID as such optional param (for example). I wanted to use -1 as default value but then realized, that they are of type uint16 (or unsigned __int16). So can I safely use 0 for kind of "non-id" or do I really need to use multiple functions?

    Or in fewer words: Do servers ever assign client IDs with 0?

  2. #2
    Join Date
    June 2008
    Client IDs start by ID 1.
    In general we use ID 1 as first ID everywhere else and there is only one exception. The server template uses server id 0.
    Last edited by dante696; August 24th, 2018 at 11:36 AM.
    When sending me private messages: Please make sure to include reference link to your forum thread or post.

    TeamSpeak FAQ || What should i report, when i open a client thread?

  3. #3
    Join Date
    August 2018
    Excellent! Thank you.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Need help regarding in which order power is assigned
    By Alaeya in forum Permission System
    Replies: 1
    Last Post: September 27th, 2017, 01:47 PM
  2. Group to only be assigned to oneself
    By marvin in forum Permission System
    Replies: 2
    Last Post: February 6th, 2013, 07:31 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