Server
Functions - Serverside
MSK.Register
MSK.Register("Callback_Name", function(source, arg1, arg2, ...)
return ...
end)
-- Example
MSK.Register("msk_testing:serverCallback:1", function(source, a, b, c)
print(source, a, b, c)
return a, b, c
end)
MSK.Register("msk_testing:serverCallback:2", function(source, cb, a, b, c)
print(source, a, b, c)
cb(a, b, c)
print('Have fun!')
end)
-- As an Export:
exports.msk_core:Register("msk_testing:serverCallback:1", function(source, a, b, c)
print(source, a, b, c)
return a, b, c
end)MSK.Trigger
MSK.AddWebhook
MSK.Notification
MSK.AdvancedNotification
MSK.HasItem
MSK.GetPlayer
MSK.GetPlayers
MSK.Cron.Create
MSK.Cron.Delete
MSK.RegisterItem
Last updated
