AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:GO] Propshooter (v1.0 12/6/2016) (https://forums.alliedmods.net/showthread.php?t=283810)

Rachnus 06-11-2016 20:01

[CS:GO] Propshooter (v1.0 12/6/2016)
 
4 Attachment(s)
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.

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:
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

Ingame menu:



Installation:
Quote:

Place propshooter.smx in addons/sourcemod/plugins
Place propshooter_paths.txt in addons/sourcemod/configs
Place propshooter_colors.txt in addons/sourcemod/configs

Changelog:
Spoiler


Credits:
Github: https://github.com/Rachnus/Propshooter-Sourcemod-CS-GO-

wolvez04 06-12-2016 10:38

Re: [CS:GO] Propshooter (v1.0 12/6/2016)
 
Really cool except I couldn't seem it get it working on my server. I might try on another server later.

Thanks c:

Rachnus 06-12-2016 11:10

Re: [CS:GO] Propshooter (v1.0 12/6/2016)
 
Quote:

Originally Posted by wolvez04 (Post 2426963)
Really cool except I couldn't seem it get it working on my server. I might try on another server later.

Thanks c:

Did you get any errors? If so could you post them here and I can see what I can do about it. Also make sure you got all files at their right place. And thanks :)

wolvez04 06-12-2016 11:37

Re: [CS:GO] Propshooter (v1.0 12/6/2016)
 
It seems like the smx isnt loading properly. I restarted the server to double check and then tried the following:

sm_rcon sm plugins load propshooter
[SM] Plugin propshooter.smx failed to load: Native "DataPack.DataPack" was not found.

Rachnus 06-12-2016 11:56

Re: [CS:GO] Propshooter (v1.0 12/6/2016)
 
Quote:

Originally Posted by wolvez04 (Post 2426975)
It seems like the smx isnt loading properly. I restarted the server to double check and then tried the following:

sm_rcon sm plugins load propshooter
[SM] Plugin propshooter.smx failed to load: Native "DataPack.DataPack" was not found.

Hmm, it is working perfectly for me, could it be that you're using an old version of sourcemod, this was written in 1.8 and is currently working for me on stable "1.8 - build 5912". Try reinstalling sourcemod, looks like something is missing on your end. I'll try investigate further about this problem if that wont fix it.

wolvez04 06-12-2016 12:13

Re: [CS:GO] Propshooter (v1.0 12/6/2016)
 
Yes! I am yet to upgrade to the new version, thanks :p

Rachnus 06-12-2016 12:19

Re: [CS:GO] Propshooter (v1.0 12/6/2016)
 
Quote:

Originally Posted by wolvez04 (Post 2426983)
Yes! I am yet to upgrade to the new version, thanks :p

No problem :)

asdfxD 06-13-2016 00:17

Re: [CS:GO] Propshooter (v1.0 12/6/2016)
 
tried to add elephant, but it is not working.

"Elephant"
{
"name" "Elephant"
"path" "models/props_fairgrounds/elephant.mdl"
}

Rachnus 06-13-2016 04:02

Re: [CS:GO] Propshooter (v1.0 12/6/2016)
 
Quote:

Originally Posted by asdfxD (Post 2427127)
tried to add elephant, but it is not working.

"Elephant"
{
"name" "Elephant"
"path" "models/props_fairgrounds/elephant.mdl"
}

I've looked into this problem and it appears that something is wrong with the prop, even though it says its "prop_physics" it still wont spawn, this happends with "prop_static" and "prop_dynamic" props aswell. I tried adding another model instead of that to the same name

"Elephant"
{
"name" "Elephant"
"path" "models/props_c17/oildrum001.mdl"
}


and this worked fine, however the elephant model did not work for me either.

Pala4 06-13-2016 06:38

Re: [CS:GO] Propshooter (v1.0 12/6/2016)
 
Good afternoon, the plugin works perfectly thank you, but I have the error log.


Quote:

L 06/13/2016 - 08:21:28: [SM] Call stack trace:
L 06/13/2016 - 08:21:28: [SM] [1] Line 1237, C:\Users\jimi\Desktop\SourcePawn\CSGO\Unfinis hed\propshooter.sp::OnTakeDamage()
L 06/13/2016 - 08:21:29: [SM] Exception reported: Array index is out of bounds
L 06/13/2016 - 08:21:29: [SM] Blaming: propshooter.smx()
L 06/13/2016 - 08:21:29: [SM] Call stack trace:
L 06/13/2016 - 08:21:29: [SM] [1] Line 1237, C:\Users\jimi\Desktop\SourcePawn\CSGO\Unfinis hed\propshooter.sp::OnTakeDamage()
L 06/13/2016 - 08:21:29: [SM] Exception reported: Array index is out of bounds
L 06/13/2016 - 08:21:29: [SM] Blaming: propshooter.smx()
L 06/13/2016 - 08:21:29: [SM] Call stack trace:
L 06/13/2016 - 08:21:29: [SM] [1] Line 1237, C:\Users\jimi\Desktop\SourcePawn\CSGO\Unfinis hed\propshooter.sp::OnTakeDamage()
L 06/13/2016 - 08:21:30: [SM] Exception reported: Array index is out of bounds
L 06/13/2016 - 08:21:30: [SM] Blaming: propshooter.smx()


All times are GMT -4. The time now is 13:38.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.