[CS:GO] Propshooter

Post Reply
User avatar
Andreeas
Hero Member
Hero Member
Posts: 601
Joined: Wed Jan 22, 2020 8:17 pm
Jucator SA:MP ?: Nu
Nick:: Andreeas
Jucator CS ?: Nu

[CS:GO] Propshooter

Post by Andreeas »

This plugin allows admins by default to shoot props by typing !ps, !propshooter in chat, or sm_ps, sm_propshooter in console.

Features:
  • 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
Cvars:

Code: Select all

Quote:
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
Players can do (If propshooter_adminonly 0):
  • Shoot props
    Change prop model
    Set color/alpha on the prop
    Delete their own props
Image
Image

Installation:

Code: Select all

Quote:
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)
propshooter_colors.txt
propshooter_paths.txt
propshooter.smx
Get Plugin or Get Source
Post Reply

Return to “Fun Stuff”