SA-MP Forums Archive
Function help - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Function help (/showthread.php?tid=178429)



Function help - jimjam080 - 22.09.2010

How Would you go about creating your own function that handles multiple variables including float, string and integar and returning a single integar value?

When I try it gives me an invalaled expresion error so can somebody please post a demonstration of the syntax of making a function.


Re: Function help - cessil - 22.09.2010

https://sampwiki.blast.hk/wiki/Scripting_Basics#Functions