View Single Post
Author Message
humptee
Junior Member
Join Date: Jul 2020
Old 07-18-2020 , 22:15   Native not bound. | SquareRoot
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