Quote:
Originally Posted by AntiBots
public Float:return_float(id)
native Float:return_float(id)
EDIT: Use Style 1
|
Thanks. Discussion over. =)
Quote:
Originally Posted by danielkza
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".
__________________