mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-09 05:54:50 +02:00
Fixed work values being totally wrong for guildleves. Added Add/Remove GL command.
This commit is contained in:
parent
b5db036d71
commit
fc96dac7c7
5 changed files with 50 additions and 19 deletions
15
data/scripts/commands/gm/addguildleve.lua
Normal file
15
data/scripts/commands/gm/addguildleve.lua
Normal file
|
@ -0,0 +1,15 @@
|
|||
require("global");
|
||||
|
||||
properties = {
|
||||
permissions = 0,
|
||||
parameters = "s",
|
||||
description = "Adds a guildleve by <id>.",
|
||||
}
|
||||
|
||||
function onTrigger(player, argc, glId)
|
||||
if player then
|
||||
player:AddGuildleve(tonumber(glId));
|
||||
else
|
||||
print(sender.."unable to add guildleve, ensure player name is valid.");
|
||||
end;
|
||||
end;
|
Loading…
Add table
Add a link
Reference in a new issue