Random Weapon with Rate Percentage
#6

Quote:
Originally Posted by coool
Посмотреть сообщение
Using some thing like "case 0..44" is in-efficient because it is like creating 44 if statements.
source: http://forum.sa-mp.com/showpost.php?...0&postcount=15
And 44 if statements don't even take an amount of time that would be noticable.
This is more about ranges like 10000 where it would actually make a difference (objectively even 10000 wouldn't be noticable).
Reply


Messages In This Thread
Random Weapon with Rate Percentage - by Dawkin - 24.07.2018, 10:03
Re: Random Weapon with Rate Percentage - by jlalt - 24.07.2018, 10:07
Re: Random Weapon with Rate Percentage - by coool - 24.07.2018, 10:11
Re: Random Weapon with Rate Percentage - by jlalt - 24.07.2018, 10:16
Re: Random Weapon with Rate Percentage - by Dawkin - 24.07.2018, 12:11
Re: Random Weapon with Rate Percentage - by NaS - 24.07.2018, 16:20

Forum Jump:


Users browsing this thread: 3 Guest(s)