Array problem
#1

Hello.

I have a code like that in a GameModeInit FilterScript:

Code:
 new pickups [MAX_PICKUPS];
new pickup;

pickup AddStaticPickup = (1274, 2, -1346.1757,492.4712,11.2027, -1);
pickups[pickup] = "store";
pickup AddStaticPickup = (1274, 2, -1351.3839,500.9245,18.2344, -1);
pickups[pickup] = "store";
(and other pickups that follow).

I have the error: error 006: Must Be Assigned to year array

Each line pickups[pickup] = "store";

How to solve this problem?

Thank you!
Reply


Messages In This Thread
Array problem - by Urefeu - 12.07.2011, 15:34
Re: Array problem - by [MG]Dimi - 13.07.2011, 07:46

Forum Jump:


Users browsing this thread: 1 Guest(s)