21/02/2021, 07:20 PM
Como puedo llamar a ese sprite dentro de esta funcion?
Intente así pero no lo lee, tambien intente de las siguientes maneras
Pero aun así no se muestra el sprite...
Así tengo el ENUM
Código PHP:
write_short( PRECACHE_SPRITES[SPR_BULLETS_GOLDEN][id])
Intente así pero no lo lee, tambien intente de las siguientes maneras
Código PHP:
write_short( SPR_BULLETS_GOLDEN)
write_short( PRECACHE_SPRITES[SPR_BULLETS_GOLDEN][0])
Pero aun así no se muestra el sprite...
Así tengo el ENUM
Código PHP:
enum _:DATA_PRECACHE_SPRITES
{
MODELO_SPRITE[40]
}
enum _:ID_SPRITES
{
SPR_BULLETS_GOLDEN
}
new const PRECACHE_SPRITES[ID_SPRITES][DATA_PRECACHE_SPRITES] =
{
{ "sprites/dot.spr" }
}