Garry's Mod

Garry's Mod

172 평점
Armor & Health NPC
   
어워드
즐겨찾기
즐겨찾기됨
즐겨찾기 해제
Content Type: Addon
Addon Type: NPC
Addon Tags: Fun, Roleplay
파일 크기
게시일
업데이트일
2.360 KB
2014년 10월 25일 오전 8시 06분
2014년 10월 26일 오전 12시 37분
업데이트 노트 4개 (보기)

다운로드 위해 구독하기
Armor & Health NPC

설명
This is a armor and health selling npc. That only works for Darkrp 2.5.x.

Create a new lua file in garrysmod/lua/autorun/ name it example armorhealthnpctable and then put the code below into it.
ArmorHealth = {} -- Model path ArmorHealth.Models = "models/odessa.mdl" -- Health cost ArmorHealth.healthcost = 120 -- Amount of health given ArmorHealth.healthgive = 100 -- Armor Cost ArmorHealth.Armorcost = 120 -- Amount of armor given ArmorHealth.Armorgive = 100 -- Spawn a npc that can be moved. If false then it won't ArmorHealth.AutoSpawnNpc = false -- NPC Spawn Pos will work if above is true ArmorHealth.npc_pos = Vector( -1780, -677, -148 ) -- NPC Spawn Angle will work if autospawnnpc = true ArmorHealth.npc_ang = Angle( 0, -90, 0 )



Want me to add something more to it? Just say it in the comments or add me.
댓글 9
wahoo 2017년 4월 25일 오전 5시 35분 
it does not work I can not spawn it
^1Brandon 2015년 11월 20일 오후 7시 23분 
when i spawn it it show no model why ?
DankNessGotMemes 2015년 11월 13일 오후 6시 34분 
I can assure you theres no backdoor guys its completely safe for a server it was used on a server that had 30+ players most days and if it had a back door pretty sure they wouldn't have used it.
Pancake  [작성자] 2015년 11월 12일 오후 6시 15분 
No it doesn't.
Mxrk 2015년 11월 8일 오전 7시 32분 
Has a backdoor in this script.
Pancake  [작성자] 2015년 4월 30일 오후 2시 37분 
You set the spawn Position
bigmanting 2015년 4월 25일 오후 11시 34분 
where does the NPC spawn?
Pancake  [작성자] 2014년 10월 26일 오전 1시 48분 
Checkout the video
chicarito101 2014년 10월 25일 오후 6시 04분 
what is it like?!