I want to make murderer can see player glowing outline through walls
when murderer get maybe 10 or 12 loots maybe.
Effects like this. [url]http://steamcommunity.com/sharedfiles/filedetails/?id=235603435&searchtext=l4d+glow[/url]
sv_loot.lua
here is a murderer crossbow code.
[CODE]
local function giveCrossbow(ply) --석궁주는거
--이미 석궁 가지고있는놈일때의 코드
if ply:HasWeapon("weapon_crossbow") then
--ply:GiveAmmo(1, "XBowBolt", true) --석궁 탄약 1발 더
else
ply:Give("weapon_crossbow")
ply:RemoveAmmo(4, "XBowBolt") --탄약 5개 기본중 4개 뻇고 1개만 남김
--ply:SelectWeapon("weapon_crossbow") --크로스보우 얻을때애 그 무기를 들고있을껀지 아닌지
end
end
[/CODE]
[CODE]
if ply:GetMurderer() then
if ply.LootCollected == 7 then
giveCrossbow(ply)
PrintMessage(HUD_PRINTTALK, "<WARNNING!> 살인자가 Crossbow를 얻었습니다!!" )
for k,v in pairs(player.GetAll()) do
v:EmitSound("ambient/alarms/alarm_citizen_loop1.mp3")
end
end
--if ply.LootCollected % 15 == 0 then
-- giveCrossbow(ply)
--end
if ply.LootCollected == 10 then
PLAYER GLOW HALOS ← but i don't know what function need for, of which addons are work to murderer.
end
end
[/CODE]
I think glow effects will work write script like that.
Any addons for glowing player halos for murderer?
or any scripts..?
I don't know lua much.
So I was searched on facepunch and found many scripts, but i can't understand and use it.
Any one help me?
Use the [URL="http://wiki.garrysmod.com/page/halo/Add"]halo.Add[/URL] function. Careful, apparently it's a "Frame Killer", but when I used it, I was fine.
E: Linked
Sorry, you need to Log In to post a reply to this thread.