Raised This Month: $ Target: $400
 0% 

native returns float


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
Old 02-28-2009 , 04:19   Re: native returns float
Reply With Quote #4

Quote:
Originally Posted by AntiBots View Post
public Float:return_float(id)


native Float:return_float(id)

EDIT: Use Style 1
Thanks. Discussion over. =)

Quote:
Originally Posted by danielkza View Post
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)
I just had problems with with 'tag mismatch' cuz didn't knew that it's possible to to cassify type after function "public".
__________________
Skill and no annoying bugs with fixed balance issues is my goal!
My approved plugins what don't show up in Approved List:
* Bomb/Death/CSS Radar
* HotVision
___
Need help? Please check this documentation first.
MPNumB is offline
Send a message via Skype™ to MPNumB
 



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