Update consumables.lua
This commit is contained in:
1 parent
2d3ca8a361
commit
000a5b29a2
1 file changed
+2
-2
@@ -14,7 +14,7 @@ RegisterNetEvent('md-drugs:client:consumedrugs', function(time, effect, anim, pr
|
||||
elseif k == "armor" then
|
||||
TriggerServerEvent('hospital:server:SetArmor', v)
|
||||
TriggerServerEvent('consumables:server:useArmor')
|
||||
SetPedArmour(PlayerPedId(), statval)
|
||||
SetPedArmour(PlayerPedId(), v)
|
||||
elseif k == 'speed' then
|
||||
TriggerEvent('md-drugs:client:recievebuff', k, v)
|
||||
elseif k == 'strength' then
|
||||
@@ -44,4 +44,4 @@ if type == 'strength' then
|
||||
until strength == amount
|
||||
SetWeaponDamageModifier(GetHashKey("WEAPON_UNARMED"), 1.0)
|
||||
end
|
||||
end)
|
||||
end)
|
||||
Reference in new issue
Block a user