02.10.2014, 11:27
Quote:
On this line i have the following warn:
Код HTML:
amount = random (MIN_RAND,MAX_RAND); Код HTML:
warning 202: number of arguments does not match definition Код HTML:
//Dropcar new g_var[MAX_PLAYERS]; #define MIN_RAND 100 #define MAX_RAND 250 |
pawn Код:
stock randomnumber(min, max)
{
new rand = random(max-min)+min;
return rand;
}
pawn Код:
amount = randomnumber(MIN_RAND,MAX_RAND);