update docs

This commit is contained in:
Evil Factory
2021-12-03 11:31:38 -03:00
parent e70b0c9edc
commit fe563a417c
14 changed files with 2266 additions and 24 deletions
-17
View File
@@ -61,23 +61,6 @@ Hook.Add("chatMessage", "discordIntegration", function (msg, client)
end)
```
```lua
local enabledPackages = Game.GetEnabledContentPackages()
local shouldRun = false
for key, value in pairs(enabledPackages) do
if value.Name == "MyContentPackage" then
shouldRun = true
end
end
if Game.IsDedicated then shouldRun = true end
if not shouldRun then
return
end
```
```lua
-- by jimmyl
Hook.Add("chatMessage","controlhuskcommand",function(msg, client)