09.02.2014, 18:14
I should have and well now I set variables to -1 whenever I delete an object, I had a loop without checking anything just
for(new i; i < sizeof(SmokeMakers); i++)
{
DestroyDynamicObject(SmokeMakers[i]);
}
I had it in the 5 minute timer in random, so thats why it was so rare, as not always these objects had the same IDs, and fire started in random, so i couldnt find it out.
But today after I added neon system, players started to get smokes and fires at their cars instead of neon, so I get it, its smething about SmokeMaker objects
Thanksfully its solved now, no more random disappearing road blocks or house furniture or growing marijuana pots. it fixed tons of bugs
for(new i; i < sizeof(SmokeMakers); i++)
{
DestroyDynamicObject(SmokeMakers[i]);
}
I had it in the 5 minute timer in random, so thats why it was so rare, as not always these objects had the same IDs, and fire started in random, so i couldnt find it out.
But today after I added neon system, players started to get smokes and fires at their cars instead of neon, so I get it, its smething about SmokeMaker objects
Thanksfully its solved now, no more random disappearing road blocks or house furniture or growing marijuana pots. it fixed tons of bugs

