PDA

View Full Version : Arrays Help


tobi736
25/07/2018, 01:28 AM
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

Freaksken
25/07/2018, 02:10 AM
wiki page (http://wiki.sa-mp.com/wiki/Scripting_Basics#Arrays)

tobi736
25/07/2018, 03:38 AM
i can't understand?, can your give me a example?

Freaksken
25/07/2018, 03:49 AM
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 ...

tobi736
25/07/2018, 03:53 AM
new
myArray[5];
myArray[2] = pABCXYZ;
this true?