Q: Arrays [SOLVED -> Jonny5] - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Q: Arrays [SOLVED -> Jonny5] (
/showthread.php?tid=331015)
Q: Arrays [SOLVED -> Jonny5] -
Ezay - 03.04.2012
Hey Guys.
I'm Making a System.
I Need to Involve Arrays, So i Was Wondering.
Whats the Best Way to do Arrays.
Straight Formation?
new mArray[] = {
0,
1,
2,
3,
4,
5
};
Or..?
Ezay
\o/
Re: Q: Arrays -
Jonny5 - 03.04.2012
well the other way is to write an enum
pawn Код:
enum eSomeInfo{
string[34],
float:eX,
someint
}
new aSomearray[eSomeInfo];
or the first way, they both are fine.
Re: Q: Arrays -
Ezay - 03.04.2012
Oh Ok,
Cheers Jonny5!