[Include] rGutils - Useful functions/macros to help scripting
#3

Quote:
Originally Posted by RuiGy
Посмотреть сообщение
I use "f" to the function be similar to the original one (f of formatted), i was used to use Ex (but it is more like Extended(params)).

I return fractional data as an integer because i couldn't return it as float, is there a way to do this?

edit: i couldn't return it as float without getting a warning 213: tag mismatch.

and Thank you.
Tag the function with 'Float:' just like a variable, ex:

pawn Код:
stock Float: ReturnFloat()
{
    return 1.0;
}
Reply


Messages In This Thread
rGutils - Useful functions/macros to help scripting - by Larceny - 08.07.2012, 19:03
Re: rGutils - Useful functions/macros to help scripting - by Larceny - 08.07.2012, 19:11
Re: rGutils - Useful functions/macros to help scripting - by SuperViper - 08.07.2012, 20:11
Re: rGutils - Useful functions/macros to help scripting - by Larceny - 08.07.2012, 20:36

Forum Jump:


Users browsing this thread: 1 Guest(s)