Garry's Mod
172 valoraciones
Armor & Health NPC
   
Premio
Favoritos
Favorito
Quitar
Content Type: Addon
Addon Type: NPC
Addon Tags: Fun, Roleplay
Tamaño
Publicado el
Actualizado el
2.360 KB
25 OCT 2014 a las 8:06 a. m.
26 OCT 2014 a las 12:37 a. m.
4 notas sobre cambios ( ver )

Suscríbete para descargar
Armor & Health NPC

Descripción
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 comentarios
wahoo 25 ABR 2017 a las 5:35 a. m. 
it does not work I can not spawn it
^1Brandon 20 NOV 2015 a las 7:23 p. m. 
when i spawn it it show no model why ?
DankNessGotMemes 13 NOV 2015 a las 6:34 p. m. 
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  [autor] 12 NOV 2015 a las 6:15 p. m. 
No it doesn't.
Mxrk 8 NOV 2015 a las 7:32 a. m. 
Has a backdoor in this script.
Pancake  [autor] 30 ABR 2015 a las 2:37 p. m. 
You set the spawn Position
bigmanting 25 ABR 2015 a las 11:34 p. m. 
where does the NPC spawn?
Pancake  [autor] 26 OCT 2014 a las 1:48 a. m. 
Checkout the video
chicarito101 25 OCT 2014 a las 6:04 p. m. 
what is it like?!