🔗builderx.pl.onnoclip

🟥 𝗦𝗘𝗥𝗩𝗘𝗥

builderx.pl.onnoclip( ᵖˡᵃʸᵉʳ pl)

▸ Parameters

ply pl player object

bool state returns true if player enters noclip mode; false if noclip taken away

▸ Description

Runs when a player uses the noclip chat command (!fly) to enter / exit noclip in build mode.

▸ Notes

Will NOT be called if player uses an outside method to enter noclip such as: ulx noclip, darkrp fly mode, etc.

▸ Example

local function your_hook( pl, state )

    // your custom hook function here

end
hook.Add( 'builderx.pl.onnoclip', 'your_hook_id', your_hook )

Last updated