View Single Post
Old 21/04/2015, 11:07 PM   #1
Pottus's Avatar
Join Date: Jun 2012
Posts: 4,885
Reputation: 1337
Default Plugin question - Returning array from native call

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.

Last edited by Pottus; 22/04/2015 at 12:48 AM.
Pottus is offline   Reply With Quote