05.01.2016, 14:22
After reviewing your code I'd like to point this out:
What are you trying to do here?
I believe you need to change
to:
Add: new string[256]; under the stock. (Choose a approperiate array size, I dont know how far your loop will go so I'll stick here with 256)
Change:
to:
Код:
new weapons[256]; FormatHouseWeapons(houseid, weapons);
I believe you need to change
Код:
stock FormatHouseWeapons(house, string[])
Код:
stock FormatHouseWeapons(house)
Change:
Код:
FormatHouseWeapons(houseid, weapons);
Код:
FormatHouseWeapons(houseid);