Raised This Month: $ Target: $400
 0% 

Question about player id


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DjSoftero
Veteran Member
Join Date: Nov 2014
Location: Lithuania
Old 07-19-2017 , 12:13   Re: Question about player id
Reply With Quote #1

Quote:
Originally Posted by male_07 View Post
the id of the players change when another disconnect or new player joins the server? I mean:

*Player 1 joins the server*
Player 1 have id 1.

*Player 2 joins the server*
Player 2 have id 2.

*Player 3 joins the server*
Player 3 have id 3.

*Player 1 left the server and player 4 joins it*
Player 4 have id ?

In this cases, all the ids of the players change? Player 2 have now id 1, Player 3 have id 2, etc etc.

The point of this question is, im trying to save certain players i select, so i have to store somewhere the id of those players, but if these ids change every time someone joins or leave the server i have to update the id of the players, right?
it takes the lowest available space, when joining.

at least that`s how i always thought of it
__________________
retired chump

Last edited by DjSoftero; 07-19-2017 at 12:13.
DjSoftero is offline
Reply



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 23:11.


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