Multiple parameters with a single stock function
#6

Quote:
Originally Posted by ******
Посмотреть сообщение
It does in fact do something and does help the cause of this thread, in fact it is the exact correct answer! When CALLING the function (not when defining it), specify the name of the parameter you are passing using ".par_name=value". For an example look at the usage of y_ini's INI_ParseFile function which often has calls looking something like:

pawn Код:
INI_ParseFile(file, "Callback", .bExtra = true, .extra = playerid);
Oh I see. @ randomkid88: Please, excuse me then.

@ ******: Thank you, I'll give that a shot.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)