mirror of
				https://bitbucket.org/Ioncannon/project-meteor-server.git
				synced 2025-05-20 08:26:59 -04: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 |