SA:MP Function - Something between random and probability?
#5

You can do it in the following method
PHP код:
if(!random(100))
{
      
//the thing with 1% chance goes HERE
}
else
{
     
//the thing with 99% chance goes HERE

Or use it in the format i gave in last post, and yes use random(100) there if you want in that format.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)