benilla-re systems structs docs

ShowPlayerCommand

function · unassigned

Address
0x405220 · 41 bytes, up to 0x405248
Signature
uint32_t __fastcall (const char *name, const char *args)
Meaning
Toggles the active player's model flag and prints player visible or player hidden
Confidence
verified, proof one
Finding
console/commands#show-player-command

Finding: Show player command in console: commands

0x4049e0 registers showplayer with the handler 0x405220, category 1 and no help line. With the world frame present (s_worldFrame non-null) the handler toggles the active player's model flag through ToggleShowOwnModel and prints player visible when the flag is now set and player hidden when it is now clear, through ConsoleWrite in class 0. Without a world frame it does nothing. It returns 1 either way and reads neither argument.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 2

Calls and jumps by a bare address, from tables/calls.tsv.