30.10.2010, 01:53
(
Последний раз редактировалось Miguel; 30.10.2010 в 02:05.
)
Can anyone teach me how to make functions with one or more optional parameters?
Example:
Example:
pawn Код:
format(string, sizeof(string), "%s and %s are two strings", var_1, var_2);
format(param_1, param_2, param_3, optional_param_1, optional_param_2, ...); // this function has optional paramters