All events are hooked in ORGMServerEvents.lua and call these functions.
It is unlikely that you will need to call any of these functions manually.
- Copyright: 2018 File: server/1LoadOrder/ORGMServerCallbacks.lua
- Release: v3.09
- Author: Fenris_Wolf
|removeBaseFirearms ()||Removes vanilla firearms and ammo from the Distributions tables.|
|loadPatches ()||Loads any compatibility patches.|
|keyPress (key)||Calls functions that need to be checked when onKeyPressed is triggered.|
|clientCommand (module, command, player, args)||Handles command requests from the clients in MP.|
- removeBaseFirearms ()
Removes vanilla firearms and ammo from the Distributions tables.
Triggered on the OnPostDistributionMerge event if ORGM.Settings.RemoveBaseFirearms is true
- loadPatches ()
Loads any compatibility patches.
Triggered on the OnDistributionMerge event.
- keyPress (key)
Calls functions that need to be checked when onKeyPressed is triggered.
- clientCommand (module, command, player, args)
Handles command requests from the clients in MP.
Triggered by the OnClientCommand event.
If the module name is ‘orgm’ and the ORGM.Server.CommandHandler has a function with the name that matches the command string argument, it calls that function.