View Single Post
gameguysz
Member
Join Date: Aug 2011
Location: USA
Old 11-23-2011 , 17:52   Re: [TF2] Metal Calculator
Reply With Quote #3

Quote:
Originally Posted by Thrawn2 View Post
http://docs.sourcemod.net/api/index....d=show&id=714&


PHP Code:
/**
 * Rounds a float to the closest integer to zero.
 *
 * @param value            Input value to be rounded.
 * @return                Rounded value.
 */
native RoundToZero(Float:value);

/**
 * Rounds a float to the next highest integer value.
 *
 * @param value            Input value to be rounded.
 * @return                Rounded value.
 */
native RoundToCeil(Float:value);

/**
 * Rounds a float to the next lowest integer value.
 *
 * @param value            Input value to be rounded.
 * @return                Rounded value.
 */
native RoundToFloor(Float:value);

/**
 * Standard IEEE rounding.
 *
 * @param value            Input value to be rounded.
 * @return                Rounded value.
 */
native RoundToNearest(Float:value); 
Just noticed i had them in the wrong spot Plugin updated to newer version
gameguysz is offline