13.04.2013, 19:13
In your first script:
You might want to change that to this:
For your other problem: if you only want to remove the roadblocks of a certain player, you need to save the owners as well. Now you're just dumping every roadblock into one huge list, and then removing them all by reading that same list.
Код:
for(new i = 0; i <= CreatedBlocks[i]; i++) DestroyObject(CreatedBlocks[i]);
Код:
for(new i = 0; i < CreatedBlock; i++) DestroyObject(CreatedBlocks[i]);
