SA-MP Forums

SA-MP Forums (
-   Scripting Help (
-   -   Plugin question - Returning array from native call (

Pottus 21/04/2015 11:07 PM

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.

All times are GMT. The time now is 11:26 AM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.