07.07.2011, 00:56
I wonder if this is possible or not:
And if yes, how is it work? By get a random number from 0 to -50 or how?
pawn Код:
random(-50)
random(-50)
new rand = -random(50);
printf("%d",random(-10));
stock RandomNegative(random) //ricop522
{
new str[0x80], str2[0x80];
format(str2, sizeof(str2), "-%i", random(random));
strmid(str,str2,0,strlen(str2),128);
return str;
}