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

SFEX.hook.RemoveLaw

S๐Ÿท๏ธ Hooks

Part of StarfallEx namespace

๐Ÿ”— External
hook.add("RemoveLaw", "name", function(index, law, player) end)
View on GitHub|lua/starfall/libs_sh/darkrp2.lua:517
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Called when a law is removed. DarkRP only. Not usually called when /resetlaws is used.

Parameters

NameTypeDescription
indexnumberIndex of the law
lawstringLaw string
player?PlayerThe player who removed the law.

Returns

No return values documented.

Examples

No examples available.

Used In

No usages found in the codebase.