2016-03-12 02:54:03 -05:00
|
|
|
--[[
|
|
|
|
|
|
|
|
EmoteSitCommand Script
|
|
|
|
|
|
|
|
--]]
|
|
|
|
|
2016-03-20 21:19:40 -04:00
|
|
|
function onEventStarted(player, actor, triggerName, emoteId)
|
2016-03-12 02:54:03 -05:00
|
|
|
|
2016-06-15 03:41:23 +01:00
|
|
|
if (player:GetState() == 0) then
|
2016-03-12 02:54:03 -05:00
|
|
|
if (emoteId == 0x2712) then
|
2016-06-16 03:01:10 +01:00
|
|
|
player:ChangeState(11);
|
2016-03-12 02:54:03 -05:00
|
|
|
else
|
2016-06-16 03:01:10 +01:00
|
|
|
player:ChangeState(13);
|
2016-03-12 02:54:03 -05:00
|
|
|
end
|
|
|
|
else
|
2016-06-16 03:01:10 +01:00
|
|
|
player:ChangeState(0);
|
2016-03-12 02:54:03 -05:00
|
|
|
end
|
|
|
|
|
2016-06-19 18:52:34 -04:00
|
|
|
player:EndEvent();
|
2016-03-12 02:54:03 -05:00
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
function onEventUpdate(player, npc)
|
|
|
|
end
|