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

Half-Life | WeaponBox-Corpse-Gibs Cleans


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Half-Life        Category:   General Purpose       
kml_ghost
Junior Member
Join Date: May 2018
Location: Türkiye
Old 01-20-2024 , 11:04   Half-Life | WeaponBox-Corpse-Gibs Cleans
Reply With Quote #1

Description;
During the game, the weapon box, corpses and skull corpse parts cleans.

Requirements;
AMXX 1.9 or higher

Cvar;
corpse_clean 1-on / 0-off
wpbox_clean 1-on / 0-off
gibs_clean 1-on / 0-off
Attached Files
File Type: sma Get Plugin or Get Source (wpbox_corpse_gibs.sma - 37 views - 1.6 KB)

Last edited by kml_ghost; 01-24-2024 at 06:26.
kml_ghost is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 01-30-2024 , 08:02   Re: Half-Life | WeaponBox-Corpse-Gibs Cleans
Reply With Quote #2

Using Ham_Spawn, "weaponbox" eliminates need for so many if while loops and tasks run every second or 2. The box limit should be a CVAR. I made something like this in the requests section, way more organized and sophisticated yet did not feel a need to add it to the New Plugins submissions. Changing gib cvar every second like that the veterans would trip seeing this code. The bodies making them invisible does not clean them up truly. Does FL_KILLME crash?
__________________

Last edited by DarkDeviL; 02-20-2024 at 19:19.
DJEarthQuake 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 07:34.


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