Raised This Month: $51 Target: $400
 12% 

No Weapon Drop on Death v0.2


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay        Approver:   v3x (159)
VEN
Veteran Member
Join Date: Jan 2005
Old 01-23-2006 , 08:47   No Weapon Drop on Death v0.2
Reply With Quote #1

NOTE: This plugin is overriden by No Weapon Drop

Comparision table:
Code:
+------------------------+----------------+-------------------------+
|                        | No Weapon Drop | No Weapon Drop on Death |
+------------------------+----------------+-------------------------+
| good weapon deletion   |       +        |            -            |
| death mode             |       +        |            +            |
| alive mode             |       +        |            -            |
| disconnect mode        |       +        |            -            |
| teams mode             |       +        |            -            |
| custom weapons support |       +        |            -            |
| defuser support        |       +        |            -            | 
| required modules       |    fakemeta    |    fakemeta, engine     | 
| use pcvar system       |       +        |            -            | 
+------------------------+----------------+-------------------------+


Requested by [CHEEZ-T] - http://forums.alliedmods.net/showthread.php?t=23544

Plugin disables weapon drop on death (shiled also supported, bomb excluded).

Engine and fakemeta module required.

CVAR amx_noweapdrop_ondeath (0: OFF, 1: ON, default: 1) disables/enables the plugin

Versions
Code:
0.2   - solved possible server crash issues
        maxents num uses global int now
0.1.2 - added entity validity extra check
0.1.1 - added shield support
0.1   - initial release
Attached Files
File Type: sma Get Plugin or Get Source (noweapdropondeath.sma - 7787 views - 2.0 KB)

Last edited by VEN; 01-03-2007 at 02:57.
VEN is offline
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 01-23-2006 , 23:18  
Reply With Quote #2

So it just eliminates the weapon so nobody can pick it up? Interesting
__________________
bmann_420 is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 01-24-2006 , 05:21  
Reply With Quote #3

Version 0.1.1 - added shield support.
VEN is offline
jay7
Senior Member
Join Date: Jun 2004
Old 01-24-2006 , 10:28  
Reply With Quote #4

can you add a timer option so the weapons could drop but disappear after x seconds.
jay7 is offline
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 01-24-2006 , 15:09  
Reply With Quote #5

Do you keep the weapon for the next round?

or is it just so ppl cant see or pick it up?
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
Charr
Senior Member
Join Date: Jul 2005
Location: Long Island, New York, U
Old 01-24-2006 , 15:48  
Reply With Quote #6

You can replace the engine functions you used in this plugin with FM ones. entity_get_edict(...,EV_INT_owner) with FM's pev(...,pev_owner)
Charr is offline
Send a message via AIM to Charr Send a message via MSN to Charr
VEN
Veteran Member
Join Date: Jan 2005
Old 01-25-2006 , 04:05  
Reply With Quote #7

Quote:
can you add a timer option so the weapons could drop but disappear after x seconds.
In my opinion it's better to do it in another plugin.

Quote:
Do you keep the weapon for the next round?
No.
Quote:
is it just so ppl cant see or pick it up?
Yes. It's just not exists at all.
But you still can drop weapons while alive.

Quote:
You can replace the engine functions
Yes i know. Maybe i'll make it so it would require fakemeta only.

EDIT:

No, it seems like i can't.
engine is_valid_ent still required.
VEN is offline
BACARRA
Senior Member
Join Date: Mar 2005
Old 01-25-2006 , 21:21  
Reply With Quote #8

would it be possible to allow the hegren to be picked up?
BACARRA is offline
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 01-25-2006 , 21:25  
Reply With Quote #9

Search Real Nade Drops...
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
jay7
Senior Member
Join Date: Jun 2004
Old 02-13-2006 , 07:40  
Reply With Quote #10

3/2006 - 03:417: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 02/13/2006 - 03:41:52: [ENGINE] Invalid entity 119
L 02/13/2006 - 03:41:52: [AMXX] Run time error 10 (plugin "noweapdropondeath.amxx") - debug not enabled!
L 02/13/2006 - 03:41:52: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 02/13/2006 - 03:42:01: [ENGINE] Invalid entity 134
L 02/13/2006 - 03:42:01: [AMXX] Run time error 10 (plugin "noweapdropondeath.amxx") - debug not enabled!
L 02/13/2006 - 03:42:01: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 02/13/2006 - 03:427: [ENGINE] Invalid entity 135
L 02/13/2006 - 03:427: [AMXX] Run time error 10 (plugin "noweapdropondeath.amxx") - debug not enabled!
L 02/13/2006 - 03:427: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 02/13/2006 - 03:42:58: [ENGINE] Invalid entity 135
L 02/13/2006 - 03:42:58: [AMXX] Run time error 10 (plugin "noweapdropondeath.amxx") - debug not enabled!
L 02/13/2006 - 03:42:58: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 02/13/2006 - 03:43:07: [ENGINE] Invalid entity 142
L 02/13/2006 - 03:43:07: [AMXX] Run time error 10 (plugin "noweapdropondeath.amxx") - debug not enabled!
L 02/13/2006 - 03:43:07: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 02/13/2006 - 03:43:13: [ENGINE] Invalid entity 131
L 02/13/2006 - 03:43:13: [AMXX] Run time error 10 (plugin "noweapdropondeath.amxx") - debug not enabled!
L 02/13/2006 - 03:43:13: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 02/13/2006 - 03:43:55: [ENGINE] Invalid entity 130
jay7 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 19:22.


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