09-13-2016, 07:25 AM 
		
	
	
		Use a cLineBlockTracer to find the block coords when the client doesn't give you any.
	
	
	
	
	
| 
				
				 
					Impossible to prevent bucket item use
				 
			 | 
		
| 
	 
		
		
		09-13-2016, 07:25 AM 
		
	 
	
		Use a cLineBlockTracer to find the block coords when the client doesn't give you any.
	 
	
	
	
	
		
		
		09-14-2016, 11:00 PM 
(This post was last modified: 09-14-2016, 11:13 PM by PureTryOut.)
		
	 
	
		Well that worked. I still find it weird though, even more so because when using a lighter it's only called once... Currently my method feels more like a hack but ooh well, it does the job. 
	
	
	
	
What I ended up with: Code: function OnPlayerUsingItem(Player, BlockX, BlockY, BlockZ, BlockFace, CursorX, CursorY, CursorZ, BlockType, BlockMeta)
		
		
		09-15-2016, 12:03 AM 
		
	 
	
		@xoft didn't you do some work on the OnPlayerPlacingBlock and OnPlayerBreakingBlock hooks I thought it detected water and lava placements now.
	 
	
	
	
	
		
		
		09-15-2016, 08:00 AM 
		
	 
	
		I honestly don't remember.
	 
	
	
	
	
 | 
| 
				
	 
					« Next Oldest | Next Newest »
				 
			 |