Dynamic Array
#1

i am in need of creating dynamic arrays in some script of mine and as it is not possible using pawn i tried Malloc plugin witch i found hard to understand (i am dumb ) i need some help from u guys to know how to create an array with a size taken from a variable for example (this is the worst peace of code in life and ignored the rules of coding) :

pawn Код:
new Var = 5;
new Array[Var];
And again i know it is impossible using pawn.
Reply


Messages In This Thread
Dynamic Array - by Opah - 18.02.2015, 20:50
Re: Dynamic Array - by CalvinC - 19.02.2015, 21:36
Re: Dynamic Array - by Vince - 19.02.2015, 22:07
Re: Dynamic Array - by Opah - 20.02.2015, 13:18
Re: Dynamic Array - by Opah - 21.02.2015, 12:27

Forum Jump:


Users browsing this thread: 1 Guest(s)