Garry's Mod

Garry's Mod

Not enough ratings
ZS Essentials
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Server content
File Size
Posted
Updated
388.030 KB
28 Aug @ 4:13pm
10 Sep @ 7:29am
16 Change Notes ( view )

Subscribe to download
ZS Essentials

Description
This is a base for all my ZS-based mods, and for yours too!
It’s a compilation of Zombie Survival functions (and future ones as well). If you’d like to add something, just let me know I’ll do my best, but please have patience since I’m not the best coder.

This includes the ZS Barricade System, Prop Carrying, and Ghost Phasing all built-in.
Use the Walk key to enter Ghost Phasing mode.
While phasing, you can only pass through nailed props (those nailed with the hammer).

Hooks:
@ply is the player who repaired
@ent is the entity that was repaired
@health is the amount of health restored
hook.Run("OnRepairedObject", ply, ent, health)

@pl is the player who is attempting to pick up the entity
@entity is the entity being picked up
hook.Run("OnTryHumanPickup", pl, entity)

@ent The entity being damaged
@attacker The player who is dealing the damage
@dmg The amount of damage dealt
@dmgpos The position where the damage occurred
@health The remaining health of the damaged prop
hook.Run("OnPropDamaged", ent, attacker, dmg, dmgpos, health)

@ent is the prop that broke
@attacker is the player who broke the prop
hook.Run("OnPropBroken", ent, attacker)
7 Comments
Hosterle 11 Sep @ 2:04pm 
Nvm I figured it out sorry
Hosterle 11 Sep @ 1:02pm 
where is the hammer? how do I nail my props?
Ultra 9 Sep @ 11:48pm 
Oh my gosh i always wanted the ZS prop and barricade systems in sandbox. Thank you for making this!
Shadow  [author] 30 Aug @ 1:57pm 
R (IN_RELOAD) is for rotating props, SHIFT (IN_SPEED) keeps them frozen in the air, and ALT (IN_WALK) is for rotating props at 45° angles, or also for enabling ghost phasing to pass through nailed props.

Maybe you don’t have the walk key bound? Anyway, sure, I could try making a smal options menu for custom key binds.
✦Cuervo✦ 30 Aug @ 9:27am 
yeah uh, i try to use the Z and B like on zs but nothing happens, even try all my keys, you think you could find a way to make it into a bind?
Shadow  [author] 30 Aug @ 6:35am 
Yes, you can phase through nailed props, like in ZS.
✦Cuervo✦ 29 Aug @ 11:23pm 
use the walk key to enter ghost phasing mode.
???