Notice to all users

We are migrating towards a new forum system located at, as such this forum will become read-only on January 29, 2020

Results 1 to 3 of 3
  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 12:36 PM.
    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, 02:47 PM
  2. Keep somone from getting assigned a group?
    By BobBart in forum Permission System
    Replies: 7
    Last Post: December 10th, 2013, 10:28 AM

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