[Include] [inc300] Random Float - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (
https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] [inc300] Random Float (
/showthread.php?tid=523725)
[inc300] Random Float -
vannesenn - 03.07.2014
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);
}
Re: [inc300] Random Float -
vannesenn - 05.07.2014
Someone?
Re: [inc300] Random Float -
vannesenn - 08.07.2014
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
!