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

Solved Drop Weapon Cleaner


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ssproxima
Senior Member
Join Date: Jan 2015
Old 02-27-2018 , 13:44   Drop Weapon Cleaner
Reply With Quote #1

Hello,

Is there any plugin similar to this available in cs 1.6 that is in CS:GO

https://forums.alliedmods.net/showthread.php?p=1424937

I want the player who dies the weapon dropped by him should be cleaned after say10-15 seconds as I have put re spawn plugin on server.

I have searched but didn't found one might be my keywords be wrong.

Last edited by ssproxima; 03-04-2018 at 22:36.
ssproxima is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 02-27-2018 , 14:34   Re: Request:Drop Weapon Cleaner
Reply With Quote #2

Why 15 seconds? Why not instantly? Search for no weapon drop on death.
__________________

Last edited by OciXCrom; 02-27-2018 at 14:34.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
instinctpt1
Senior Member
Join Date: Dec 2016
Location: Chandigarh, India
Old 02-27-2018 , 15:21   Re: Request:Drop Weapon Cleaner
Reply With Quote #3

If u want to Removed Dropped Weapons Instantly ( Like in DM ) :

PHP Code:
#include < amxmodx > 
#include < fakemeta > 
#include < hamsandwich > 

public plugin_init( ) 

  
RegisterHamHam_Think"weaponbox""OnThink"); 
  
RegisterHamHam_Think"weapon_shield""OnThink"); 

  
register_forwardFM_SetModel"OnSetModel"); 


public 
OnThinkiEntity 
  
engfuncEngFunc_RemoveEntityiEntity ); 

public 
OnSetModeliEntity 

  if( 
pev_validiEntity ) ) 
  { 
    static 
szClass32 ]; 
    
peviEntitypev_classnameszClass31 ); 

    if( 
equalszClass"weaponbox" ) || equalszClass"weapon_shield" ) ) 
      
set_peviEntitypev_nextthinkget_gametime( ) + 0.1 ); 
  } 

instinctpt1 is offline
ssproxima
Senior Member
Join Date: Jan 2015
Old 03-04-2018 , 22:36   Re: Drop Weapon Cleaner
Reply With Quote #4

Thanks plugin worked
ssproxima is offline
Cirovic
Senior Member
Join Date: Sep 2019
Old 03-10-2022 , 19:13   Re: Drop Weapon Cleaner
Reply With Quote #5

i need after 60 seconds to delete weapons on ground
Cirovic is offline
abecee
Junior Member
Join Date: Feb 2022
Old 03-21-2022 , 19:20   Re: Drop Weapon Cleaner
Reply With Quote #6

You also have an option in game.cfg if u are using regamedll.
abecee is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 03-22-2022 , 02:03   Re: Drop Weapon Cleaner
Reply With Quote #7

Quote:
Originally Posted by Cirovic View Post
i need after 60 seconds to delete weapons on ground
set_pev( iEntity, pev_nextthink, get_gametime( ) + 60.0 );

Replace
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
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 20:43.


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