Public Start Unused Items
#1

For example, i may have this:

pawn Код:
public PublicFunction(string[], integer)
But what i want is this:

pawn Код:
public PublicFunction(string[], integer, string1[], integer1)
But if string1 and integer1 is not used then it will still work without warning,

PublicFunction("test", 1);

But then if in another part of the script this is used
PublicFunction("test", 1, "test2", 2);

It will work without warning also, i've seen how to do this in the past but i can't remember how to do it.
Reply


Messages In This Thread
Public Start Unused Items - by Norn - 25.02.2010, 00:37
Re: Public Start Unused Items - by Correlli - 25.02.2010, 01:09
Re: Public Start Unused Items - by Norn - 25.02.2010, 01:15

Forum Jump:


Users browsing this thread: 1 Guest(s)