Raised This Month: $ Target: $400
 0% 

[Question] id


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
quark
Veteran Member
Join Date: Oct 2011
Location: Your mind.
Old 09-05-2013 , 10:55   [Question] id
Reply With Quote #1

Hey guys, i have a question. The id from some player is the number in the server right? if server has 32 players each one has 1 number from 1 to 32 right?
__________________

Check out My Plugins:
qServerInfo ; ASKTAG
quark is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 09-05-2013 , 11:26   Re: [Question] id
Reply With Quote #2

id can be anything. The Player Index is between 1 and MaxPlayers
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
quark
Veteran Member
Join Date: Oct 2011
Location: Your mind.
Old 09-05-2013 , 11:53   Re: [Question] id
Reply With Quote #3

right , so if i use like get_user_authid(1) it will get the steamID from the 1 player who entered?
__________________

Check out My Plugins:
qServerInfo ; ASKTAG
quark is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 09-05-2013 , 12:02   Re: [Question] id
Reply With Quote #4

It will obtain the authid of the user with Index 1. It might not be the first person who joined
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
quark
Veteran Member
Join Date: Oct 2011
Location: Your mind.
Old 09-05-2013 , 12:21   Re: [Question] id
Reply With Quote #5

That's interesting.
__________________

Check out My Plugins:
qServerInfo ; ASKTAG

Last edited by quark; 09-05-2013 at 12:21.
quark is offline
SpaWn2KiLl
Member
Join Date: Aug 2012
Old 09-05-2013 , 17:16   Re: [Question] id
Reply With Quote #6

ID is the first number you see in the line of the player when you execute status in console...


# 1 "HLTV demos" 1909 HLTV hltv:0/12 delay:90 63:21 188.93.237.11:1351
# 2 "QUEENKILL" 2521 STEAM_0:1:47995213 20 08:41 39 0
# 3 "nM" 2537 STEAM_0:0:29147779 1 05:14 16 0
# 4 "askEN" 2519 STEAM_0:0:44354649 13 10:07 23 0

The ID of "HLTV demos" is 1
The ID of "QUEENKILL" is 2
The ID of "nM" is 3
The ID of "askEN" is 4

If player with ID 2 disconnects, the ID of players 3 and 4 will stay the same. The next player that joins the server will get the ID 2 (slot 2).

Hope you understand
__________________
SpaWn2KiLl is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:11.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode