mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-08 21:44:35 +02:00
implemented sendpacket and speed commands
- fixed data race on logging in - todo: implement reloadzones, reloaditems, property, property2
This commit is contained in:
parent
7a25c818f2
commit
30b0d4a97d
11 changed files with 74 additions and 81 deletions
13
data/scripts/commands/gm/speed.lua
Normal file
13
data/scripts/commands/gm/speed.lua
Normal file
|
@ -0,0 +1,13 @@
|
|||
properties = {
|
||||
permissions = 0,
|
||||
parameters = "sss",
|
||||
description = "<stop> <walk> <run> speed",
|
||||
}
|
||||
|
||||
function onTrigger(player, argc, stop, walk, run)
|
||||
stop = tonumber(stop) or 0;
|
||||
walk = tonumber(walk) or 2;
|
||||
run = tonumber(run) or 5;
|
||||
|
||||
player:ChangeSpeed(stop, walk, run);
|
||||
end;
|
Loading…
Add table
Add a link
Reference in a new issue