Raised This Month: $51 Target: $400
 12% 

float error....


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
leakgfhp
Member
Join Date: Apr 2005
Old 03-05-2007 , 16:34   float error....
Reply With Quote #1

here is the code:
Code:
	angle_diff[1] = 0.0056472 // only for example
	
	if((angle_diff[1] < 0.01) && (angle_diff[1] > 0.0))
	{
		angle_diff[1] = 0.0
		client_print(id, print_chat, "S")
	}
but the value "angle_diff[1]" never change to zero... maybe the code its wrong...
leakgfhp is offline
Spanky McNutnut
AMX Mod X Beta Tester
Join Date: Feb 2006
Old 03-05-2007 , 17:35   Re: float error....
Reply With Quote #2

http://forums.alliedmods.net/forumdisplay.php?f=11
Spanky McNutnut is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:16.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode