AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   param_convert usage (https://forums.alliedmods.net/showthread.php?t=146493)

NiHiLaNTh 12-28-2010 15:13

param_convert usage
 
How to convert multi-dimensional array in natives by using param_convert( ) or function similar to it ?
Code:

public native_blah( array[ ][ ][ ] )
{
        // param_convert should be used here
}


ConnorMcLeod 12-28-2010 15:16

Re: param_convert usage
 
What does your native exactly do ?
Why don't you use 0 style native ? (no need to convert by ref parms)
Dunno how it works with multi-dimensional arrays though :P

Exolent[jNr] 12-28-2010 15:21

Re: param_convert usage
 
I don't think you can use multi-dimensional arrays in dynamic natives.


All times are GMT -4. The time now is 02:10.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.