[Include] [inc300] Random Float
#1

Hi guys,
this is my new include. With this include you can make fluat value using random funcs.

Example


Код:
CMD:test(playerid, params[])
{
new min, max;
if(sscanf(params, "dd", min, max))
{
return SendClientMessage(playerid, 0xFFFFFFAA, "KORISTENJE: /test [Min] [Max]");
}
	format(string, 32, "- Random Float: %f", inc300_RandomFloat(min, max);
return SendClientMessage(playerid, 0xF00000AA, string);
}

Reply
#2

Someone?
Reply
#3

1 - Ok, I doesn't saw that topic.
2 - If I see, that function haven't minimum value...
3 - I don't understand you best, if you can explain better ? Thanks
3a - I forgot hook, when I find free time I'll make update
3b - I don't understand what you mean
4 - My decision! If you don't like the name of function, change it! That will cost you maybe max. 5 secs
5 - Thanks for post !
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)