mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-21 20:27:47 +00:00
13 lines
No EOL
321 B
Lua
13 lines
No EOL
321 B
Lua
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, run);
|
|
end; |