mirror of
				https://bitbucket.org/Ioncannon/project-meteor-server.git
				synced 2025-05-20 08:26:59 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			367 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			367 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
| --[[
 | |
| 
 | |
| PartyInviteCommand Script
 | |
| 
 | |
| Handles what happens when you invite
 | |
| 
 | |
| --]]
 | |
| 
 | |
| function onEventStarted(player, actor, triggerName, name, arg1, arg2, arg3, actorId)
 | |
| 
 | |
| 	if (name ~= nil) then
 | |
| 		GetWorldManager():CreateInvitePartyGroup(player, name);
 | |
| 	elseif (actorId ~= nil) then
 | |
| 		GetWorldManager():CreateInvitePartyGroup(player, actorId);
 | |
| 	end
 | |
| 	
 | |
| 	player:EndEvent();
 | |
| 	
 | |
| end |