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

SFEX.hook.AddLaw

S๐Ÿท๏ธ Hooks

Part of StarfallEx namespace

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

Description

Called when a law is added. DarkRP only.

Parameters

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

Returns

No return values documented.

Examples

No examples available.

Used In

No usages found in the codebase.