20.01.2017, 08:26
Quote:
You're missing a ; I guess ..
Код:
new const g_MaterialSizeName[MAX_MATERIAL_SIZES][MAX_MATERIALSIZE_NAMELEN char] = { !"OBJECT_MATERIAL_SIZE_32x32", // Index 0, Defined Value 10 !"OBJECT_MATERIAL_SIZE_64x32", // Index 1, Defined Value 20 !"OBJECT_MATERIAL_SIZE_64x64", // Index 2, Defined Value 30 !"OBJECT_MATERIAL_SIZE_128x32", // Index 3, Defined Value 40 !"OBJECT_MATERIAL_SIZE_128x64", // Index 4, Defined Value 50 !"OBJECT_MATERIAL_SIZE_128x128", // Index 5, Defined Value 60 !"OBJECT_MATERIAL_SIZE_256x32", // Index 6, Defined Value 70 !"OBJECT_MATERIAL_SIZE_256x64", // Index 7, Defined Value 80 !"OBJECT_MATERIAL_SIZE_256x128", // Index 8, Defined Value 90 !"OBJECT_MATERIAL_SIZE_256x256", // Index 9, Defined Value 100 !"OBJECT_MATERIAL_SIZE_512x64", // Index 10, Defined Value 110 !"OBJECT_MATERIAL_SIZE_512x128", // Index 11, Defined Value 120 !"OBJECT_MATERIAL_SIZE_512x256", // Index 12, Defined Value 130 !"OBJECT_MATERIAL_SIZE_512x512"; // Index 13, Defined Value 140 // ; missing }; |
The code doesn't have any problem you are not showing the correct lines or trying to compile the modules in that script. Compile the main module of that script.if that didn't work re download the script from here https://github.com/fusez/Map-Editor-V2 and compile mapedit.pwn.