17.04.2015, 17:42
It's a hard way of doing it while it could be done easier.
Are you sure you used it correctly?
Here's an example:
Quote:
Its says undefined randomEx even when i put the stock...
also it says undefined phonenumber |
Here's an example:
PHP код:
stock randomEx(min, max)
{
//Credits to ******
new rand = random(max-min)+min;
return rand;
}
CMD:randomnumber(playerid, params[])
{
new value = RandomEx(1620000000, 1630000000);
printf("the value is %d", value);
return 1;
}