15.10.2009, 17:21
https://sampwiki.blast.hk/wiki/Random
Or better yet, use a switch
pawn Код:
new a = random(3);
if(a == 0)
{
//something
}
else if(a == 1)
{
//something
}