Alexs Posted June 5, 2012 Share Posted June 5, 2012 Hola a Todos, hago un GUI y al hacer las imagenes me dice que hay un unexpected simbol near 0 en la linea 12, estas son la linea del 0 y los que estan cerca: imgarmor = guiCreateStaticImage(0.5288,0.835,0.0575,0.0783,"ArmorHUD.png",true) 0 = guiCreateStaticImage(0.6625,0.1117,0.2962,0.2483,"iconos/0.png",true) 1 = guiCreateStaticImage(0.6625,0.1117,0.2962,0.2483,"iconos/1.png",true) Que esta mal? Link to comment
Castillo Posted June 5, 2012 Share Posted June 5, 2012 No podes usar numeros para los nombres de las variables, tenes que poner una letra: imgarmor = guiCreateStaticImage(0.5288,0.835,0.0575,0.0783,"ArmorHUD.png",true) -- Aca i0 = guiCreateStaticImage(0.6625,0.1117,0.2962,0.2483,"iconos/0.png",true) -- Aca i1 = guiCreateStaticImage(0.6625,0.1117,0.2962,0.2483,"iconos/1.png",true) Link to comment
Recommended Posts