Thread: [Solved] get_array_byref?
View Single Post
redivcram
Veteran Member
Join Date: Jul 2014
Location: Serbia
Old 02-10-2020 , 19:13   Re: get_array_byref?
Reply With Quote #3

PHP Code:
// Plugin 1
public plugin_natives()
{
    
register_library("fakenatives");
    
    
register_native("FakeNative""_FakeNative");
}

public 
_FakeNative(iPluginiParams) {
    
    
// Do something to the parsed array?

I wanna use the native as such:
PHP Code:
// Plugin 2
new myArray[8];

FakeNative(myArray);

// Do something with the modified array. 
Basically what I said in the first post.

Last edited by redivcram; 02-10-2020 at 19:14.
redivcram is offline