NPC Sprays
An Experimental Project for letting NPCs spray pictures around like a player would normally do.
Drop your custom sprays under garrysmod/materials/NPCSprays(if there is none, then create one) in your file system.
They can also load sprays from your lambda players Sprays.
ConVars:
wawa574_NPCSpray_enabled (default: 1): Enable or disable the NPC spray system.
wawa574_NPCSpray_Onetime (default: 1): Allow NPCs to spray only once.
wawa574_NPCSpray_Taunt (default: 1): Enable or disable NPC taunting with sprays after defeating a player.
wawa574_NPCSpray_minimum_delay (default: 15): Minimum delay in seconds before NPCs can spray again.
wawa574_NPCSpray_maximum_delay (default: 60): Maximum delay in seconds before NPCs can spray again.
wawa574_NPCSpray_maximum_distance (default: 2500): Maximum distance in units for NPCs to detect players for spraying.
wawa574_NPCSpray_surface_distance (default: 256): Maximum distance in units for NPCs to detect a surface for spraying.
Credits
WaWa574:Making the addon.