mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-02 19:42:05 -04:00
18 lines
502 B
Lua
18 lines
502 B
Lua
require("global");
|
|
|
|
function init(npc)
|
|
return false, false, 0, 0;
|
|
end
|
|
|
|
function onEventStarted(player, npc, eventType, eventName)
|
|
|
|
if (eventType == ETYPE_PUSH) then
|
|
if (eventName == "caution") then
|
|
worldMaster = GetWorldMaster();
|
|
player:SendGameMessage(player, worldMaster, 34109, 0x20);
|
|
elseif (eventName == "exit") then
|
|
GetWorldManager():DoPlayerMoveInZone(player, 5.36433, 196, 133.656, -2.84938);
|
|
end
|
|
end
|
|
player:EndEvent();
|
|
end |