I can't find a tutorial about this and looking through diffrent scripts didn't help se, so I decided to ask:
How do you use arrays in mafia? I want to make an array of items, let me demonstrate what I mean in Java code:
How can I do this in mafia? In most scripts I looked at people use maps, but I don't need a map - I just need an array that I could fill with items and then hoepefully use something like
But I'm not sure if this works in mafia.
How do you use arrays in mafia? I want to make an array of items, let me demonstrate what I mean in Java code:
Code:
ArrayList items = new ArrayList();
items.add(digital underground potion);
items.add(cologne of contempt);
How can I do this in mafia? In most scripts I looked at people use maps, but I don't need a map - I just need an array that I could fill with items and then hoepefully use something like
Code:
for item in items {
But I'm not sure if this works in mafia.