Raised This Month: $ Target: $400
 0% 

Removing Weapons


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 05-05-2005 , 17:46   Removing Weapons
Reply With Quote #1

How can I remove all of the weapons on the ground?
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
ZiP*
Senior Member
Join Date: Jul 2004
Old 05-05-2005 , 17:57  
Reply With Quote #2

Will the

Code:
remove_entity ( entity )

or

Code:
remove_entity_name ( Name[] )

work?
ZiP* is offline
twistedeuphoria
Veteran Member
Join Date: Jul 2004
Old 05-05-2005 , 18:11  
Reply With Quote #3

Code:
for(new inum=0;inum<512;inum++) {     if(!is_valid_ent(inum)) continue     new class[32]     entity_get_string(inum,EV_SZ_classname,class,31)     if(equali(class,"weaponbox"))         remove_entity(inum) }
__________________
twistedeuphoria is offline
Reply



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:44.


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