1
Fork 0
mirror of https://bitbucket.org/Ioncannon/project-meteor-server.git synced 2025-04-20 11:47:48 +00:00
project-meteor-server/data/scripts/commands/EmoteSitCommand.lua
2016-06-15 03:41:23 +01:00

24 lines
No EOL
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