18.06.2011, 16:17
First, forward it:
The parameters are just variable names that you use. Treat them the same as other variables:
Second, declare it:
Then use it. Make a function for repeated tasks throughout the script to save time.
pawn Код:
forward FunctionName(parameters);
pawn Код:
FunctionName (id, message[], Float:radius) //first one is an integer, then string, then a floating point number
pawn Код:
public FunctionName(parameters) //Must match the forward line EXACTLY
{
return 1;
}