Intial Commit
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
require "QMIA_State"
|
||||
|
||||
Events.OnClientCommand.Add(function(module, command, player, args)
|
||||
if module ~= QMIA.MOD_ID or command ~= "setMark" then return end
|
||||
local accepted = QMIA.applyRequest(player, args)
|
||||
local payload = type(args) == "table" and args or {}
|
||||
sendServerCommand(player, QMIA.MOD_ID, "markResult", {
|
||||
accepted = accepted, enabled = payload.enabled == true,
|
||||
playerNum = payload.playerNum,
|
||||
})
|
||||
end)
|
||||
Reference in New Issue
Block a user