03.10.2015, 18:25
You can do it in the following method
Or use it in the format i gave in last post, and yes use random(100) there if you want in that format.
PHP код:
if(!random(100))
{
//the thing with 1% chance goes HERE
}
else
{
//the thing with 99% chance goes HERE
}