Raised This Month: $79 Target: $400
 19% 

[Request] Remove weapon entity/Block weapon pickup


Post New Thread Reply   
 
Thread Tools Display Modes
T.N.T
Junior Member
Join Date: Jan 2009
Old 02-21-2009 , 16:54   Re: [Request] Remove weapon entity/Block weapon pickup
Reply With Quote #11

Yes thats absolutely right Maybe bit confusing saying:

Quote:
+Just block everything, even scout to be picked up from world
I ment: If the scout was already spawn from map ^^.

+So just REMOVE the weapons already spawned from map
T.N.T is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 02-21-2009 , 17:04   Re: [Request] Remove weapon entity/Block weapon pickup
Reply With Quote #12

You want I modify the last plugin I've done for you or a new ?
Arkshine is offline
T.N.T
Junior Member
Join Date: Jan 2009
Old 02-21-2009 , 17:18   Re: [Request] Remove weapon entity/Block weapon pickup
Reply With Quote #13

Hmm good question. Okay make a new one, please
T.N.T is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 02-21-2009 , 18:51   Re: [Request] Remove weapon entity/Block weapon pickup
Reply With Quote #14

That, it should be enough :

Code:
    #include <amxmodx>     #include <fakemeta>     new g_FwdKeyValue;     public plugin_precache()     {         g_FwdKeyValue = register_forward( FM_KeyValue, "Forward_KeyValue" );     }     public Forward_KeyValue( const EntIndex, const KvdHandle )     {         if ( pev_valid( EntIndex ) )         {             new szClassName[ 16 ];             get_kvd( KvdHandle, KV_ClassName, szClassName, charsmax( szClassName ) );                         if( equal( szClassName, "armoury_entity" ) )             {                 engfunc( EngFunc_RemoveEntity, EntIndex );                 return FMRES_SUPERCEDE;             }         }                 return FMRES_IGNORED;     }         public plugin_init()     {         register_plugin( "No Armoury", "1.0.0", "Arkshine" );         unregister_forward( FM_KeyValue, g_FwdKeyValue );     }
Arkshine is offline
T.N.T
Junior Member
Join Date: Jan 2009
Old 02-21-2009 , 19:19   Re: [Request] Remove weapon entity/Block weapon pickup
Reply With Quote #15

Yay! Its working! Many thanks
__________________
IRC is just a multiplayer notepad.
T.N.T is offline
Teambash
Junior Member
Join Date: Sep 2009
Old 10-18-2009 , 07:36   Re: [Request] Remove weapon entity/Block weapon pickup
Reply With Quote #16

sry for my bad englisch

i need help for a plugin she must block weapon glock/usp in a new round.

help me pls
Teambash is offline
Send a message via MSN to Teambash
Jon
Veteran Member
Join Date: Dec 2007
Old 10-18-2009 , 08:06   Re: [Request] Remove weapon entity/Block weapon pickup
Reply With Quote #17

@Ark, I think Ham_Spawn works for this one.
Jon is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 10-18-2009 , 09:14   Re: [Request] Remove weapon entity/Block weapon pickup
Reply With Quote #18

Yes, you are probably right.

Anyway Ham won't be used anymore with the Jaoquim's module.
__________________
Arkshine is offline
Teambash
Junior Member
Join Date: Sep 2009
Old 10-18-2009 , 09:43   Re: [Request] Remove weapon entity/Block weapon pickup
Reply With Quote #19

i play JailBreak and the terrorist must no wepon on the round start. The Knife plugin block and strip all weapon( no good). The plugin must block buy usp/glock the weapon for counter terrorist is in the map this is good aber the terrorist must no weapon

ich hoffe sie verstehen mich1

Danke
Teambash is offline
Send a message via MSN to Teambash
Jon
Veteran Member
Join Date: Dec 2007
Old 10-18-2009 , 12:01   Re: [Request] Remove weapon entity/Block weapon pickup
Reply With Quote #20

Quote:
Originally Posted by Arkshine View Post
Yes, you are probably right.

Anyway Ham won't be used anymore with the Jaoquim's module.
Only applies to linux servers.
Jon is offline
Reply


Thread Tools
Display Modes

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 07:42.


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