mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-09 05:54:50 +02:00
Merge remote-tracking branch 'origin/ioncannon/quest_system' into Jorge/quest_system
# Conflicts: # Data/scripts/player.lua - Resolved. Using theirs.
This commit is contained in:
commit
fac8f269e7
8 changed files with 82 additions and 55 deletions
23
Data/scripts/commands/gm/menuman.lua
Normal file
23
Data/scripts/commands/gm/menuman.lua
Normal file
|
@ -0,0 +1,23 @@
|
|||
require("global");
|
||||
|
||||
properties = {
|
||||
permissions = 0,
|
||||
parameters = "d",
|
||||
description = "Spawns the menuman",
|
||||
}
|
||||
|
||||
function onTrigger(player, argc)
|
||||
|
||||
local pos = player:GetPos();
|
||||
local x = pos[1];
|
||||
local y = pos[2];
|
||||
local z = pos[3];
|
||||
local rot = pos[4];
|
||||
|
||||
local actor = player.CurrentArea:SpawnActor(9114437, "menuman", x, y, z, rot, 0, 0);
|
||||
|
||||
if (actor == nil) then
|
||||
player:SendMessage(0x20, "", "This actor class id cannot be spawned.");
|
||||
end
|
||||
|
||||
end;
|
Loading…
Add table
Add a link
Reference in a new issue