19.01.2017, 11:44
hello can someone help me fix this code?
i get this error
here the code
i get this error
Код:
mapedit/variables/materialsizes.pwn(15) : error 037: invalid string (possibly non-terminated string) Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
Код:
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 //error on this line };