You need to make an entity then attach the sprites, then set_task for 10 minutes to remove.
PHP Code:
new const EntityName[] = "flame";
new const Sprites[] = "sprites/flame.spr";
CreateFlame()
{
new iEnt = engfunc(EngFunc_CreateNamedEntity, engfunc(EngFunc_AllocString));
set_pev(iEnt, pev_classname, EntityName);
engfunc(EngFunc_SetModel, iEnt, Sprites);
set_task(10.0, "task_RemoveFlame", iEnt);
}
public task_RemoveFlame(iEnt)
{
if (!pev_valid(iEnt)) return;
engfunc(EngFunc_RemoveEntity, iEnt);
}
__________________