AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   delete dropped weapon (https://forums.alliedmods.net/showthread.php?t=41469)

djmd378 07-15-2006 23:27

delete dropped weapon
 
My question is, How do you delete a weapon off the floor once a player drops it?

XxAvalanchexX 07-16-2006 01:21

Re: delete dropped weapon
 
Hook FM_SetModel and look for weaponbox entities. Then delete them.

djmd378 07-16-2006 02:21

Re: delete dropped weapon
 
Do you mind explaining that with a little more detail?

VEN 07-16-2006 10:31

Re: delete dropped weapon
 
Quote:

Hook FM_SetModel and look for weaponbox entities. Then delete them
As i said just a bit before in your thread
Quote:

Unless you want to crash the server with edict overflow you have to remove the weapon entity itself, not just its weaponbox.
imported_MysticDeath: look into the code of the No Weapon Drop on Death v0.2 plugin.

djmd378 07-16-2006 13:13

Re: delete dropped weapon
 
Thanks, I figured it out.

jtp10181 07-17-2006 07:49

Re: delete dropped weapon
 
maybe you should fill out the form to get your account fixed so you dont have imported_ in your name.

TheNewt 07-17-2006 14:37

Re: delete dropped weapon
 
Yeah, they might think you are me!

He isn't me btw.

jtp10181 07-17-2006 20:43

Re: delete dropped weapon
 
oh.... well then I guess he needs to just get his name changed.


All times are GMT -4. The time now is 08:09.

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