Raised This Month: $12 Target: $400
 3% 

Players indexes after map change


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
adska
Junior Member
Join Date: Jul 2018
Old 07-31-2018 , 10:58   Players indexes after map change
Reply With Quote #1

Hello, do the player's indexes change after the map change? it means ex:. player1 - index is 1, player2 - index is 2, after map change indexes will be same?
adska is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 07-31-2018 , 12:04   Re: Players indexes after map change
Reply With Quote #2

Yes they change.
__________________
Psyk0tik is offline
eyal282
Veteran Member
Join Date: Aug 2011
Old 07-31-2018 , 13:15   Re: Players indexes after map change
Reply With Quote #3

Quote:
Originally Posted by adska View Post
Hello, do the player's indexes change after the map change? it means ex:. player1 - index is 1, player2 - index is 2, after map change indexes will be same?
The only thing that MIGHT not change is user id.
__________________
I am available to make plugins for pay.

Discord: Eyal282#1334
eyal282 is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 07-31-2018 , 13:18   Re: Players indexes after map change
Reply With Quote #4

Quote:
Originally Posted by eyal282 View Post
The only thing that MIGHT not change is user id.
Their accountId/SteamId is a pretty much guarantee to not change between maps.
Mitchell is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 07-31-2018 , 14:57   Re: Players indexes after map change
Reply With Quote #5

Players essentially do a soft disconnect/reconnect between maps. On the SourceMod side, you see all forwards fired that you'd normally see when a player disconnects and reconnects.

Having said that...

Quote:
Originally Posted by eyal282 View Post
The only thing that MIGHT not change is user id.
UserIDs definitely don't change on map change. Nor do the player_connect, player_connect_client, or player_disconnect events fire. Even though player_connect_client is marked as Orange Box only in there, I'm pretty sure CS:GO has it as well.
__________________
Not currently working on SourceMod plugin development.
Powerlord 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 08:04.


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