Raised This Month: $ Target: $400
 0% 

native returns float


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
danielkza
AMX Mod X Plugin Approver
Join Date: May 2007
Location: São Paulo - Brasil
Old 02-28-2009 , 02:20   Re: native returns float
Reply With Quote #3

Since Pawn has no real types, every variable is a cell, so the tag you return doesn't actually mather, in none of the styles. Just make sure the native declaration has the Float tag so you don't get 'tag mismatch' warnings.

Code:
native Float:MyPrettyFloatNative(Float:blah)
__________________

Community / No support through PM

Last edited by danielkza; 02-28-2009 at 02:25.
danielkza is offline
 



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


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