PDA

View Full Version : SteamID of disconnected player


yusufali
11-14-2014, 12:41
I'm trying to get the steamId2 of a player who disconnected under sourcemod1.7

looking at the events:

https://wiki.alliedmods.net/Generic_Source_Server_Events#player_disconnec t

the player_disconnect event has the key "networkid"
but this gives SteamID3

is there a way in sourcemod1.7 to convert between the two without implementing my own method?

yusufali
11-14-2014, 17:59
nm not an issue anymore

it turns out that when a player disconnects from the game in TF2, it also fires the "player_team" event before
in which the clients new team is 0
thus maniupulation via the steamid is possible