mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-17 05:43:46 +03:00
39 lines
1.2 KiB
Lua
39 lines
1.2 KiB
Lua
--[[
|
|
| This file was obtained through the combined efforts
|
|
| of Madbluntz & Plymouth Antiquarian Society.
|
|
|
|
|
| Credits: lifestorm, Gregory Wayne Rossel JR.,
|
|
| Maloy, DrPepper10 @ RIP, Atle!
|
|
|
|
|
| Visit for more: https://plymouth.thetwilightzone.ru/
|
|
--]]
|
|
|
|
ITEM.name = "Casseur de Bio-lock du cartel"
|
|
ITEM.description = "Un dispositif qui est placé sur les Bio-lock du Cartel verouillée pour les briser."
|
|
ITEM.model = "models/transmissions_element120/charger_attachment.mdl"
|
|
ITEM.category = "Outils"
|
|
ITEM.width = 1
|
|
ITEM.height = 2
|
|
ITEM.iconCam = {
|
|
pos = Vector(-44.63, -191.41, 37),
|
|
ang = Angle(12.13, 76.56, 0),
|
|
fov = 3.94
|
|
}
|
|
ITEM.colorAppendix = {["blue"] = "Vous devez MAINTENIR E sur l'entité une fois placée sur ele Bio-lock pour qu'elle commence."}
|
|
|
|
ITEM.functions.Place = {
|
|
name = "Placer",
|
|
OnRun = function(item)
|
|
local data = {}
|
|
data.start = item.player:GetShootPos()
|
|
data.endpos = data.start + item.player:GetAimVector() * 128
|
|
data.filter = item.player
|
|
|
|
if (IsValid(scripted_ents.Get("ix_combinelock_breacher"):SpawnFunction(item.player, util.TraceLine(data)))) then
|
|
item.player:EmitSound("npc/roller/mine/rmine_blades_out3.wav", 100, 90)
|
|
else
|
|
return false
|
|
end
|
|
end
|
|
}
|