Need help with plugins or servers? Join our Discord

Modding Database

Up to date with Steam · checked 23s ago· Viewing build 6698 (Sep 17 2026), not the latest

player_info

game event

Declared in core.gameevents

Named in the code or data of server, client.

Deadworks (C#), as PlayerInfoEvent
[GameEventHandler("player_info")]
public HookResult OnPlayerInfo(PlayerInfoEvent args) {
	// args.Name, args.Userid, args.Steamid, args.Bot
	return HookResult.Continue;
}

Fields

FieldTypeDeadworks propertyValve's comment
namestring
Name string
player name
useridplayer_controller
Userid CBasePlayerController?
user ID on server (unique on server)
steamiduint64
Steamid ulong
player network (i.e steam) id
botbool
Bot bool
true if player is a AI bot

History

  1. 6696–6745first dumped