πŸ”—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