builderx.mode.onswitch
🟥 𝗦𝗘𝗥𝗩𝗘𝗥
Last updated
🟥 𝗦𝗘𝗥𝗩𝗘𝗥
Last updated
builderx.mode.onswitch(
pl, bIsBuild, bIsForced, bHalo, bHud)
ply
pl
player object
bool
bIsBuild
returns true if player switching to build mode; false for pvp mode
bool
bIsForced
returns true if player forced to switch by admin command (ulx, sam, etc)
bool
bHalo
returns true if halo enabled on player
bool
bHud
returns true if player has head hud enabled
Runs when player switches modes