Raised This Month: $52 Target: $400

Native not bound.

Post New Thread Reply   
Thread Tools Display Modes
Author Message
Junior Member
Join Date: Jul 2020
Old 07-18-2020 , 22: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?

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
AlliedModders Donor
Join Date: Aug 2010
Location: SpaceX
Old 07-18-2020 , 22:53   Re: Native not bound.
Reply With Quote #2

Wrong section and why are you cross posting?



Do not cross-post threads to multiple forums (or posts to multiple threads).
Silvers is offline

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 05:16.

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