15.05.2010, 13:25
Hi!
I tried many ways but I couldn't give an array a dynamically changing size. I got a CarInfo variable with the 268 and cInfo parameters that looks like CarInfo[268][cInfo]. I would like to replace 268 with a variable called CarNumber, but the pawno always goes mad at compiling. The CarNumber variable is read from a file when the gamemode is started. Is there any way to solve this issue?
I tried many ways but I couldn't give an array a dynamically changing size. I got a CarInfo variable with the 268 and cInfo parameters that looks like CarInfo[268][cInfo]. I would like to replace 268 with a variable called CarNumber, but the pawno always goes mad at compiling. The CarNumber variable is read from a file when the gamemode is started. Is there any way to solve this issue?