Optional Parameters
#1

How to make function with optional parameter? Like this:
Code:
forward Func(param, const text[] = "");
public Func(param, const text[] = "")
{
// code here
return 1;
}
How to make that parameter text[] would be optional? If i don't write anything there, then it would be just "" ?
Reply
#2

that works with stock or just nothing
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)