Named in the code or data of server, client.
PlayerInfoEvent[GameEventHandler("player_info")]
public HookResult OnPlayerInfo(PlayerInfoEvent args) {
// args.Name, args.Userid, args.Steamid, args.Bot
return HookResult.Continue;
}| Field | Type | Deadworks property | Valve's comment |
| name | string | Name string | player name |
| userid | player_controller | Userid CBasePlayerController? | user ID on server (unique on server) |
| steamid | uint64 | Steamid ulong | player network (i.e steam) id |
| bot | bool | Bot bool | true if player is a AI bot |