27.12.2011, 13:12
Remove the n and you should be fine
pawn Код:
stock addNumbers(...) {
new
sum = 0,
num = numargs();
while(--num != -1) {
sum += getarg(num, 0);
}
return sum;
}