mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-20 11:47:48 +00:00
24 lines
339 B
Lua
24 lines
339 B
Lua
![]() |
--[[
|
||
|
|
||
|
EmoteSitCommand Script
|
||
|
|
||
|
--]]
|
||
|
|
||
|
function onEventStarted(player, actor, triggerName, emoteId)
|
||
|
|
||
|
if (player:GetState() == 0) then
|
||
|
if (emoteId == 0x2712) then
|
||
|
player:ChangeState(11);
|
||
|
else
|
||
|
player:ChangeState(13);
|
||
|
end
|
||
|
else
|
||
|
player:ChangeState(0);
|
||
|
end
|
||
|
|
||
|
player:EndEvent();
|
||
|
|
||
|
end
|
||
|
|
||
|
function onEventUpdate(player, npc)
|
||
|
end
|