Double-O-Seven 
			
				Unregistered
				
				
			
	
	
		
 
	
 
	
	
		Why the bloody devil are you IPS guys always claiming that your scripts are the fastest?
And this without real evidence?
	
	
	
	
		
	
 
 
	
	
			Double-O-Seven 
			
				Unregistered
				
				
			
	
	
		
 
	
 
	
	
		Another comment:
Have you ever heard of GetPlayerCameraFrontVector function? This would make the whole thing much more accurate instead of just checking angles and position.
Take a look at 
wups' OnPlayerShootPlayer which is a very good and efficient implementation of this.
	
		
	
 
 
	
	
		The accurate of include OnPlayerShootPlayer from wups was around 30% (yes CyNiC and DraKiNs tests with me) 
Therefore it is not as efficient GetPlayerFromCameraVector (only efficient if correct best use)
	
	
	
	
		
	
 
 
	
	
		I've done tests, it is faster than the include wups. (wups calculations are more accurate, but the lag messed up)
Note the code  it is uses small snippet of code and few loops
	
	
	
	
		
	
 
 
	
	
			Double-O-Seven 
			
				Unregistered
				
				
			
	
	
		
 
	
 
	
	
		
Quote:
| 
					Originally Posted by Bakr  No way! The possibility of two servers having lag issues in SA:MP?! That's out of this world!
 Also, at least translate it if you're going to be posting that "proof".
 | 
 His only showing a post he posted himself. Where is the "proof"?
	
 
	
	
	
		
	
 
 
	
	
	
		
	Posts: 7,801
	Threads: 187
	Joined: Feb 2010
	
Reputation: 
0
	 
	
	
		I don't understand why kiddo's come here and claim they have made better and faster scripts than what is already out there. Especially here, claiming they have written a faster version of foreach- how the hell is that possible? I think ****** would know more than some idiot who just wants to seem cool. Yet... people argue that ****** is wrong all the time, and, from what I've seen, he isn't.
Now seriously kid, get a life.
	
	
	
	
		
	
 
 
	
	
		Test yourself, I did not get particularly good results using that include wups, the include of Bruno's was perfect, except the possible exceptions of Z ..
No one here spoke of foreach is faster than the *****, creature, foreach of ****** is best better foreach of bruno, but the velocity of execution is SAME
They did not like the job? I do not see any error
RealCop228: What? Stupid, learn to have respect before heading to me this way
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 1,420
	Threads: 65
	Joined: Jan 2009
	
Reputation: 
0
	 
	
	
		Only participated in some testing helps the developer to find fault, it is faster than previously done, I can not say. Only say it is effective.
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 1,317
	Threads: 23
	Joined: Feb 2010
	
Reputation: 
0
	 
	
	
		For the love of god, stop using a translator, it annoys the fuck out of me and I don't understand half of what you're saying.
Now I'm not particulary a fan of wup's include, but this is certainly not going to be more accurate. I never really jumped into wup's include but I can see why it might cause lagg, because of the constant calculation under OPU, that might be wrong, but I haven't really checked it. This version might, if my assumption is right, give less server sided lagg, but I atleast want to see proof first, also your calculations are less accurate from a mathmatical point of view.