13.09.2011, 06:32
Quote:
I had a question, is it possible to destroy all objects in a loop? If you get a invalid object ID, will it screw up? Is there a limit in how much you can destroy?
I did a few tests and tried to make a loop that allowed this. Firstly I tried deleting all of the objects on OnPlayerSpawn with a basic loop. This was very unsucessful and started chucking me opcode errors until a crash occurred. Код:
[18:00:53] Warning(s002): Exception 0xC0000005 at 0x4CE090 [18:00:53] Warning(s002): Exception 0xC0000005 at 0x4CE090 [18:00:53] Warning(s002): Exception 0xC0000005 at 0x4CE090 [18:00:53] Warning(s002): Exception 0xC0000005 at 0x4CE090 [18:00:53] Warning(s002): Exception 0xC0000005 at 0x4CE090 [18:00:53] Warning(s002): Exception 0xC0000005 at 0x4CE090 |
http://imageshack.us/photo/my-images/3/samp119in.png/
http://imageshack.us/photo/my-images/689/samp118pn.png/