mirror of
https://github.com/redstrate/Kawari.git
synced 2025-04-20 06:37:45 +00:00
You now reigster actions with registerAction under Global.lua. This should make it extremely easy to add new actions later.
6 lines
151 B
Lua
6 lines
151 B
Lua
function onBeginLogin(player)
|
|
-- send a welcome message
|
|
player:send_message("Welcome to Kawari!")
|
|
end
|
|
|
|
registerAction(3, "actions/Sprint.lua")
|