26.12.2012, 00:03
Which is the difference between this types of functions?
pawn Код:
AddNumber(number1, number2)
{
new string[45];
format(string, 45, "Result: %d + %d = %d", number1, number2, number1+number2);
SendClientMessageToAll(-1, string);
return 1;
}
pawn Код:
stock AddNumber(number1, number2)
{
new string[45];
format(string, 45, "Result: %d + %d = %d", number1, number2, number1+number2);
SendClientMessageToAll(-1, string);
return 1;
}
pawn Код:
forward AddNumber(number1, number2);
public AddNumber(number1, number2)
{
new string[45];
format(string, 45, "Result: %d + %d = %d", number1, number2, number1+number2);
SendClientMessageToAll(-1, string);
return 1;
}
Thanks.