mirror of
				https://bitbucket.org/Ioncannon/project-meteor-server.git
				synced 2025-05-20 08:26:59 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
		
			309 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			309 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
| --[[
 | |
| 
 | |
| CheckCommand Script
 | |
| 
 | |
| Handles player examining someone
 | |
| 
 | |
| --]]
 | |
| 
 | |
| function onEventStarted(player, commandactor, triggerName, arg1, arg2, arg3, arg4, checkedActorId)
 | |
| 
 | |
| 	actor = player:GetActorInInstance(checkedActorId);
 | |
| 	
 | |
| 	if (actor ~= nil) then
 | |
| 		player:examinePlayer(actor);
 | |
| 	end
 | |
| 	
 | |
| 	player:EndEvent();
 | |
| 	
 | |
| end
 |