Roadblock
#5

In your first script:
Код:
for(new i = 0; i <= CreatedBlocks[i]; i++) DestroyObject(CreatedBlocks[i]);
You might want to change that to this:
Код:
for(new i = 0; i < CreatedBlock; i++) DestroyObject(CreatedBlocks[i]);
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.
Reply


Messages In This Thread
Roadblock - by NathNathii - 13.04.2013, 18:13
Re: Roadblock - by Denying - 13.04.2013, 18:37
Re: Roadblock - by NathNathii - 13.04.2013, 18:40
Re: Roadblock - by NathNathii - 13.04.2013, 18:57
Re: Roadblock - by Basssiiie - 13.04.2013, 19:13
Re: Roadblock - by NathNathii - 13.04.2013, 19:19
Re: Roadblock - by JJB562 - 13.04.2013, 20:50
Re: Roadblock - by NathNathii - 13.04.2013, 20:54
Re: Roadblock - by JJB562 - 13.04.2013, 20:57
Re: Roadblock - by NathNathii - 13.04.2013, 20:59

Forum Jump:


Users browsing this thread: 2 Guest(s)