mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-10 22:44:36 +02:00
start of work moving commands to lua
This commit is contained in:
parent
1159c75ab8
commit
57b9d5ab99
20 changed files with 703 additions and 67 deletions
10
data/scripts/commands/gm/music.lua
Normal file
10
data/scripts/commands/gm/music.lua
Normal file
|
@ -0,0 +1,10 @@
|
|||
properties = {
|
||||
permissions = 0,
|
||||
parameters = "s",
|
||||
description = "plays music <id> to player",
|
||||
}
|
||||
|
||||
function onTrigger(player, argc, music)
|
||||
music = tonumber(music) or 0;
|
||||
player:ChangeMusic(music);
|
||||
end;
|
Loading…
Add table
Add a link
Reference in a new issue