Native not bound. | SquareRoot
Hello, I am trying to use SquareRoot() from the float include in my project and am getting the error "Native not bound" for SquareRoot(x) and Pow(x, y)
However when I use any other function from that include it works? examples: Code:
public void OnPluginStart() |
Re: Native not bound. | SquareRoot
Works here, which SM version? Did you update includes when/if you upgraded SM?
|
Re: Native not bound. | SquareRoot
Quote:
|
Re: Native not bound. | SquareRoot
With that code? Because that compiles just fine (online and local 1.10)
|
Re: Native not bound. | SquareRoot
Quote:
Been struggling with this all day. |
Re: Native not bound. | SquareRoot
Strange works for me. Btw it should be "%f" not "%d" since "SquareRoot" returns a float.
|
Re: Native not bound. | SquareRoot
Which online compiler are you using maybe its just this one.
My actual runtime command i have testing this I have: Code:
float f = SquareRoot(25); To me this makes 0 sense so I have no clue. |
Re: Native not bound. | SquareRoot
Because you're ignoring "warning 213: tag mismatch"
You should be putting "25.0" not "25" it accepts a float not ints. And don't cross post. |
Re: Native not bound. | SquareRoot
The SquareRoot native has existed in SM for over 13 years, you're definitely not getting "Native is not bound" from SM.
|
All times are GMT -4. The time now is 16:27. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.