Raised This Month: $ Target: $400
 0% 

[ANY] cannot find sqrt and pow functions! [SOLVED]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
D.Moder
I uploaded 2 great gameplay plugins here
Join Date: Sep 2009
Location: Sin city
Old 04-10-2015 , 19:37   Re: [ANY] cannot find sqrt and pow functions!
Reply With Quote #1

oh, ok, so there is no int version of that?


I found
PHP Code:
Float:pow(Float:valueFloat:exponent
so I have to
PHP Code:
RoundToFloor(Pow(float(x),float(y))) 
to get the int version ??
__________________
Creator of COD-Life (Half COD, Half Life)
https://forums.alliedmods.net/showthread.php?t=261162
twitter: @D_Moder_61216

Last edited by D.Moder; 04-10-2015 at 19:38.
D.Moder is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 04-10-2015 , 19:41   Re: [ANY] cannot find sqrt and pow functions!
Reply With Quote #2

yes
__________________
WildCard65 is offline
Reply


Thread Tools
Display Modes

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 06:04.


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