AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=7)
-   -   float error.... (https://forums.alliedmods.net/showthread.php?t=52221)

leakgfhp 03-05-2007 16:34

float error....
 
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...

Spanky McNutnut 03-05-2007 17:35

Re: float error....
 
http://forums.alliedmods.net/forumdisplay.php?f=11


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

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