AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Solved Multidimensional dynamic arrays (https://forums.alliedmods.net/showthread.php?t=308222)

ish12321 06-11-2018 07:48

Multidimensional dynamic arrays
 
Hello,
Is it possible to have multidimensional dynamic arrays ?

KiLLeR. 06-11-2018 07:59

Re: Multidimensional dynamic arrays
 
Yes! https://www.amxmodx.org/api/cellarray/ArrayPushArray

ish12321 06-11-2018 15:06

Re: Multidimensional dynamic arrays
 
Is it possible to push 2d array in push? I wish to push 2 strings..

HamletEagle 06-11-2018 15:25

Re: Multidimensional dynamic arrays
 
Quote:

Originally Posted by ish12321 (Post 2596426)
Is it possible to push 2d array in push? I wish to push 2 strings..

Quote:

Originally Posted by KiLLeR. (Post 2596378)


ish12321 06-11-2018 15:27

Re: Multidimensional dynamic arrays
 
const any:input[]. I want const any:input[][]

HamletEagle 06-11-2018 16:16

Re: Multidimensional dynamic arrays
 
Quote:

Originally Posted by ish12321 (Post 2596429)
const any:input[]. I want const any:input[][]

I know what you want. Use an enum and ArrayPushArray.

ish12321 06-11-2018 16:58

Re: Multidimensional dynamic arrays
 
Quote:

Originally Posted by HamletEagle (Post 2596433)
I know what you want. Use an enum and ArrayPushArray.

Okay. Thanks


All times are GMT -4. The time now is 04:34.

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