Raised This Month: $ Target: $400
 0% 

[Solved]Removing all spawned Entitys[can be closed]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Stephen
Senior Member
Join Date: Aug 2004
Old 03-24-2006 , 06:55   [Solved]Removing all spawned Entitys[can be closed]
Reply With Quote #1

Hi.
Ok a new Question again.

I created several Entitys and i made an command to remove them, BUT always the last created entity gets removed the other ones cannot be removed.

How can it be done that i can removed them all entity by entity or all at once ?

Code:
public remove(id) {     if ( avatar[id] !=0 )     {     remove_entity(avatar[id]);     avatar[id] = 0     }     return PLUGIN_HANDLED }

That im using to remove the entity
__________________
www.corona-bytes.net (ECX = ESF Addon)
Stephen is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:35.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode