02.09.2012, 16:40
pawn Код:
public OnFilterScriptInit()
{
new
a = 5,
b = 5,
c = 5,
d = 5;
something(a,b,c,d);
printf(#%d - %d - %d - %d,a,b,c,d);
}
something(a , &b , c)
{
a = 1;
c = 2;
b = a + c;
}
// it should output : 5 - 3 - 5
Again, i recommend you to stop being lazy and read more the pawn-lang.pdf