AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   [Request] Remove weapon entity/Block weapon pickup (https://forums.alliedmods.net/showthread.php?t=86089)

T.N.T 02-21-2009 16:54

Re: [Request] Remove weapon entity/Block weapon pickup
 
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 :)

Arkshine 02-21-2009 17:04

Re: [Request] Remove weapon entity/Block weapon pickup
 
You want I modify the last plugin I've done for you or a new ?

T.N.T 02-21-2009 17:18

Re: [Request] Remove weapon entity/Block weapon pickup
 
Hmm good question. Okay make a new one, please :)

Arkshine 02-21-2009 18:51

Re: [Request] Remove weapon entity/Block weapon pickup
 
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 );     }

T.N.T 02-21-2009 19:19

Re: [Request] Remove weapon entity/Block weapon pickup
 
Yay! Its working! Many thanks :D

Teambash 10-18-2009 07:36

Re: [Request] Remove weapon entity/Block weapon pickup
 
sry for my bad englisch

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

help me pls

Jon 10-18-2009 08:06

Re: [Request] Remove weapon entity/Block weapon pickup
 
@Ark, I think Ham_Spawn works for this one.

Arkshine 10-18-2009 09:14

Re: [Request] Remove weapon entity/Block weapon pickup
 
Yes, you are probably right.

Anyway Ham won't be used anymore with the Jaoquim's module.

Teambash 10-18-2009 09:43

Re: [Request] Remove weapon entity/Block weapon pickup
 
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

Jon 10-18-2009 12:01

Re: [Request] Remove weapon entity/Block weapon pickup
 
Quote:

Originally Posted by Arkshine (Post 965931)
Yes, you are probably right.

Anyway Ham won't be used anymore with the Jaoquim's module.

Only applies to linux servers.


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

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