project-meteor-server/data/scripts/commands/EmoteSitCommand.lua
2016-06-16 03:49:58 +01:00

24 lines
341 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:EndCommand();
end
function onEventUpdate(player, npc)
end