Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.hook.OnLockpickCompleted

S๐Ÿท๏ธ Hooks

Part of StarfallEx namespace

๐Ÿ”— External
hook.add("OnLockpickCompleted", "name", function(ply, success, ent) end)
View on GitHub|lua/starfall/libs_sh/darkrp2.lua:560
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Called when a player has finished picking a lock, successfully or otherwise. DarkRP only. Will only be called if the lockpicker is the owner of the chip, or if the chip is running in superuser mode.

Parameters

NameTypeDescription
plyPlayerThe player attempting to lockpick the entity.
successbooleanWhether the player succeeded in lockpicking the entity.
entEntityThe entity that was lockpicked.

Returns

No return values documented.

Examples

No examples available.

Used In

No usages found in the codebase.