πbuilderx.mode.onswitch
π₯ π¦ππ₯π©ππ₯
builderx.mode.onswitch(
α΅Λ‘α΅ΚΈα΅Κ³ pl, α΅α΅α΅Λ‘ bIsBuild, α΅α΅α΅Λ‘ bIsForced, α΅α΅α΅Λ‘ bHalo, α΅α΅α΅Λ‘ bHud)
βΈ Parameters
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
βΈ Description
Runs when player switches modes
βΈ Example
Last updated