08.06.2015, 10:48
It'is will be possible to make stock like that
stock CalculateProc( proc )
{
switch (random(proc-1))
{
case 0:
{
// 1%
}
default:
{
99%
}
}
how work with cases
}
stock CalculateProc( proc )
{
switch (random(proc-1))
{
case 0:
{
// 1%
}
default:
{
99%
}
}
how work with cases
}