Optional parameters?
#1

Im trying to create a function which looks like:

Function(playerid, optional:amount);

And when amount isn't specified, it will be 0.

I see this in some default functions (Blah(playerid, thing=1)

Thanks
Reply


Messages In This Thread
Optional parameters? - by Gozerr - 27.02.2010, 13:25
Re: Optional parameters? - by woot - 27.02.2010, 14:21

Forum Jump:


Users browsing this thread: 1 Guest(s)