SA-MP Forums Archive
Arrays Help - 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: Arrays Help (/showthread.php?tid=656833)



Arrays Help - tobi736 - 25.07.2018

hi, i'm newbie.
i want to ask!!
how to create an array? like var ABC
variable abc valid pCredits or pSAD?
please help me, thanks


Re: Arrays Help - Freaksken - 25.07.2018

wiki page


Re: Arrays Help - tobi736 - 25.07.2018

i can't understand?, can your give me a example?


Re: Arrays Help - Freaksken - 25.07.2018

There literally is an example on that page. Read the part about arrays and if you don't get it start from the top of the page.

I just did a quick search and found at least 2 other forum tutorials about arrays.

Seriously, at least put in a tiny bit of effort ...


Re: Arrays Help - tobi736 - 25.07.2018

Quote:

new
myArray[5];
myArray[2] = pABCXYZ;

this true?