04.11.2016, 05:30
If all those FacInfo's are correctly setup (which I doubt but anyways), you cannot assign strings to char arrays like that in pawn, you need to use format, just like you did for str1-7.
Example:
Although why do you want them to store "VehX%d" and not just the %d itself? :'x It doesn't make a lot of sense to me, but whatever.
Lastly, make sure your enum is correctly setup:
But again, not sure why you want to save down strings, but hey it's up to you!
Example:
Код:
format(FacInfo[i][VehX][veh], 50, "VehX%d", veh);
Lastly, make sure your enum is correctly setup:
Код:
enum something{ VehX[MAX_VEHICLES][50], VehY[MAX_VEHICLES][20], ... };