Disable Buried items
7 replies



05.01.18 06:53:04 pm
Hello Guys,
I need some help,
I want that can we can Stop/Disable our bury items in map?
Example: When we kill players and if he have items so his dropped items are buried in some seconds, i want to be a Disable it. items will not buried in map....Solution?
Thanks for attention,
Help me
I need some help,
I want that can we can Stop/Disable our bury items in map?
Example: When we kill players and if he have items so his dropped items are buried in some seconds, i want to be a Disable it. items will not buried in map....Solution?
Thanks for attention,
Help me

FRiendly boYy.
Edit: I'm stupid, don't try whatever I wrote (Before this).
Use @
Fraizeraust:' solution
Use @

edited 1×, last 05.01.18 07:48:21 pm
So if you want to do that you need to use the value on console ,set
mp_weaponfadeout to "seconds"
that you need to bury the weapon. 
Simply increasing


07.01.18 07:47:36 am
So its impossible? or not?
we cannot Disable Burial/fade items forever?
Whereas even i saw in Fws Jail server,
You can check there,
If its situation there using a Script for do that.
Please make any script for will done it.
I need it.
Inform me whenever script will made.
Thanks.
we cannot Disable Burial/fade items forever?
Whereas even i saw in Fws Jail server,
You can check there,
If its situation there using a Script for do that.
Please make any script for will done it.
I need it.
Inform me whenever script will made.
Thanks.
FRiendly boYy.
There you go.
Note that I've only took the item IDs of primary and secondary (classic) weapons as you can see in the
Code:
1
2
3
4
5
6
7
8
9
10
11
2
3
4
5
6
7
8
9
10
11
local ItemIDs = {1, 2, 3, 4, 5, 6, 10, 11, 20, 21, 22, 23, 24, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40}
function NeverFadeItem(id, iid, type, ain, a, mode, x, y)
for _, ID in pairs(ItemIDs) do
if (type == ID) then
return 2
end
end
end
addhook('drop', 'NeverFadeItem')
function NeverFadeItem(id, iid, type, ain, a, mode, x, y)
for _, ID in pairs(ItemIDs) do
if (type == ID) then
return 2
end
end
end
addhook('drop', 'NeverFadeItem')
Note that I've only took the item IDs of primary and secondary (classic) weapons as you can see in the
ItemIDs
table, other items will fade regardless. You can add more item IDs though if you want them not to fade out. 


