Garry's Mod
172 voti
Armor & Health NPC
   
Premio
Aggiungi ai preferiti
Preferito
Rimuovi dai preferiti
Content Type: Addon
Addon Type: NPC
Addon Tags: Fun, Roleplay
Dimensioni del file
Pubblicato in data
Aggiornato in data
2.360 KB
25 ott 2014, ore 8:06
26 ott 2014, ore 0:37
4 note di rilascio ( visualizza )

Sottoscrivi per scaricare
Armor & Health NPC

Descrizione
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 commenti
wahoo 25 apr 2017, ore 5:35 
it does not work I can not spawn it
^1Brandon 20 nov 2015, ore 19:23 
when i spawn it it show no model why ?
DankNessGotMemes 13 nov 2015, ore 18: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  [autore] 12 nov 2015, ore 18:15 
No it doesn't.
Mxrk 8 nov 2015, ore 7:32 
Has a backdoor in this script.
Pancake  [autore] 30 apr 2015, ore 14:37 
You set the spawn Position
bigmanting 25 apr 2015, ore 23:34 
where does the NPC spawn?
Pancake  [autore] 26 ott 2014, ore 1:48 
Checkout the video
chicarito101 25 ott 2014, ore 18:04 
what is it like?!