Raised This Month: $ Target: $400
 0% 

Native not bound.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
humptee
Junior Member
Join Date: Jul 2020
Old 07-18-2020 , 23:13   Native not bound.
Reply With Quote #1

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()
{
    // This returns 100 as expected.
    PrintToServer("RoundToFloor: %d", RoundToFloor(100.99));
    
    // this returns Exception thrown: Native is not bound
    // [0] SquareRoot()
    PrintToServer("SQRT: %d", SquareRoot(100.00));
}
Any help would be appreciated.
humptee is offline
Silvers
AlliedModders Donor
Join Date: Aug 2010
Location: SpaceX
Old 07-18-2020 , 23:53   Re: Native not bound.
Reply With Quote #2

Wrong section and why are you cross posting?

https://forums.alliedmods.net/showthread.php?t=326118

https://forums.alliedmods.net/misc.php?do=showrules

Quote:
Do not cross-post threads to multiple forums (or posts to multiple threads).
__________________
Silvers 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 04:33.


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