Raised This Month: $ Target: $400
 0% 

Solved Natives and Methodmaps


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
headline
SourceMod Moderator
Join Date: Mar 2015
Old 06-12-2018 , 17:48   Re: Natives and Methodmaps
Reply With Quote #1

Quote:
Originally Posted by iGANGNAM View Post
And there are properties with float, but natives doesn't allow to return float, what I should do to keep it as property?
You should be able to return floats just fine, what does "not allowing" mean, exactly? If it's the tag mismatch, just go ahead and view_as<int>(), the bits will end up being interpreted correctly in the end.

Last edited by headline; 06-12-2018 at 17:49.
headline 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 21:55.


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