mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-08 21:44:35 +02:00
fixed method casing in lua
This commit is contained in:
parent
ba13d5798d
commit
884a26dc52
368 changed files with 1121 additions and 1121 deletions
|
@ -4,22 +4,22 @@ function init(npc)
|
|||
end
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
player:runEventFunction("askLogout", player);
|
||||
player:RunEventFunction("askLogout", player);
|
||||
end
|
||||
|
||||
function onEventUpdate(player, npc, eventStep, menuOptionSelected)
|
||||
|
||||
if (menuOptionSelected == 1) then
|
||||
player:endEvent();
|
||||
player:EndEvent();
|
||||
return;
|
||||
elseif (menuOptionSelected == 2) then
|
||||
player:quitGame();
|
||||
elseif (menuOptionSelected == 3) then
|
||||
player:logout();
|
||||
elseif (menuOptionSelected == 4) then
|
||||
player:sendMessage(33, "", "Heck the bed");
|
||||
player:SendMessage(33, "", "Heck the bed");
|
||||
end
|
||||
|
||||
player:endEvent();
|
||||
player:EndEvent();
|
||||
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue