mirror of
				https://bitbucket.org/Ioncannon/project-meteor-server.git
				synced 2025-05-20 08:26:59 -04:00 
			
		
		
		
	More script work.
This commit is contained in:
		
							
								
								
									
										20
									
								
								data/scripts/commands/PlaceDrivenCommand.lua
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								data/scripts/commands/PlaceDrivenCommand.lua
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,20 @@ | ||||
| --[[ | ||||
|  | ||||
| PlaceDrivenCommand Script | ||||
|  | ||||
| Notes:  | ||||
|  | ||||
|  | ||||
| --]] | ||||
|  | ||||
| function onEventStarted(player, commandActor, triggerName, pushCommand, unk1, unk2, unk3, ownerActorId, unk4, unk5, unk6, unk7) | ||||
| 	 | ||||
| 	actor = player:GetActorInInstance(ownerActorId); | ||||
| 	 | ||||
| 	if (actor != nil) then | ||||
| 		player:kickEvent(actor, "pushCommand", "pushCommand"); | ||||
| 	else | ||||
| 		player:endEvent(); | ||||
| 	end | ||||
| 	 | ||||
| end | ||||
		Reference in New Issue
	
	Block a user