SA-MP Forums Archive
Plugin question - Returning array from native call - 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: Plugin question - Returning array from native call (/showthread.php?tid=571760)



Plugin question - Returning array from native call - Pottus - 21.04.2015

Alright, this is question is geared to those with some plugin experience I'm just trying to solve a small issue here with functions that return an array of values.

Example (This is the actual function)

pawn Code:
CA_RayCastMultiLine(Float:StartX, Float:StartY, Float:StartZ, Float:EndX, Float:EndY, Float:EndZ, Float:retx[], Float:rety[], Float:retz[], maxpoints = sizeof(retx));
I'm just trying to figure out how to return the data in those arrays does anyone have experience doing this?

@Edit - Okay I got it figured out now.