Propshooter v1.1
This plugin allows admins by default to shoot props by typing !ps, !propshooter in chat, or sm_ps, sm_propshooter in console.
- Menu + Admin menu (Same menu, depends on access flags)
- When propshooter is activated, bullets do 0 damage
- Change prop model (Models can be added to propshooter_paths.txt, aslong as they have the property "prop_physics")
- Change color/alpha on the prop (Colors can be added to propshooter_colors.txt)
- Remove props (Admins with the flag "b" can remove all props on map)
- Admin menu to change cvars listed down below
- propshooter_proplifespan (Default: 3) Sets the amount of seconds the prop will be alive. (0 for unlimited, or until player disconnects or removes the props)
- propshooter_maxprops (Default: 50) Sets the maximum amount props to be on the map at the same time for each player
- propshooter_adminonly (Default: 1) 1 for admin only, 0 for anyone
- Shoot props
- Change prop model
- Set color/alpha on the prop
- Delete their own props
- Place propshooter.smx in addons/sourcemod/plugins
- Place propshooter_paths.txt in addons/sourcemod/configs
- Place propshooter_colors.txt in addons/sourcemod/configs
- v1.0 - Initial Release.
- v1.1 - Fixed array out of bounds error in OnTakeDamage (Thanks Pala4)
- Me
- Pelipoika