SA-MP Forums Archive
Calling a remote function with optional parameters - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Calling a remote function with optional parameters (/showthread.php?tid=471105)



Calling a remote function with optional parameters - RajatPawar - 21.10.2013

I have a function in a filterscript. It has optional parameters. So it can't be a public function, so it's a stock. At the same time, I would like to protect my code and provide the client with a simple remote call to my function in the .amx. How would I do that?