SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Thread Tools Display Modes
Prev Previous Post   Next Post Next
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

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
A small question regarding plugin creating [INVOKE A NATIVE] KoczkaHUN Plugin Development 13 17/11/2011 08:33 PM
Call native functions, hook callbacks IllidanS46 Plugin Development 5 27/02/2011 03:40 PM

All times are GMT. The time now is 01:01 PM.

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