once again clone trouble! help!

I have 20 black actors / clones on screen, created via script.
Now i wanna remove them like this (timer runs 19 times):
it just crashes GE. what did i wrong?
Why doesn´t this work?
Now i wanna remove them like this (timer runs 19 times):
- Code: Select all
char *tma;
sprintf(tma, "black.%i", no);
no++;
DestroyActor(tma);
it just crashes GE. what did i wrong?
Why doesn´t this work?
