Raised This Month: $51 Target: $400
 12% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Rachnus
Senior Member
Join Date: Jun 2016
Location: Funland
Plugin ID:
5239
Plugin Version:
1.0
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    This plugin allows admins/users to shoot props
    Old 06-11-2016 , 20:01   [CS:GO] Propshooter (v1.0 12/6/2016)
    Reply With Quote #1

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



    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-
    Attached Files
    File Type: txt propshooter_colors.txt (1.1 KB, 407 views)
    File Type: txt propshooter_paths.txt (1.5 KB, 566 views)
    File Type: smx propshooter.smx (18.1 KB, 453 views)
    File Type: sp Get Plugin or Get Source (propshooter.sp - 955 views - 32.2 KB)
    __________________
    Github: https://github.com/jimppan
    Steam: http://steamcommunity.com/id/jimppan
    _____________________________________________ _________
    Taking private requests

    Last edited by Rachnus; 06-17-2016 at 10:17.
    Rachnus is offline
    wolvez04
    Senior Member
    Join Date: Feb 2016
    Location: Andora
    Old 06-12-2016 , 10:38   Re: [CS:GO] Propshooter (v1.0 12/6/2016)
    Reply With Quote #2

    Really cool except I couldn't seem it get it working on my server. I might try on another server later.

    Thanks c:
    wolvez04 is offline
    Rachnus
    Senior Member
    Join Date: Jun 2016
    Location: Funland
    Old 06-12-2016 , 11:10   Re: [CS:GO] Propshooter (v1.0 12/6/2016)
    Reply With Quote #3

    Quote:
    Originally Posted by wolvez04 View Post
    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
    __________________
    Github: https://github.com/jimppan
    Steam: http://steamcommunity.com/id/jimppan
    _____________________________________________ _________
    Taking private requests
    Rachnus is offline
    wolvez04
    Senior Member
    Join Date: Feb 2016
    Location: Andora
    Old 06-12-2016 , 11:37   Re: [CS:GO] Propshooter (v1.0 12/6/2016)
    Reply With Quote #4

    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.
    wolvez04 is offline
    Rachnus
    Senior Member
    Join Date: Jun 2016
    Location: Funland
    Old 06-12-2016 , 11:56   Re: [CS:GO] Propshooter (v1.0 12/6/2016)
    Reply With Quote #5

    Quote:
    Originally Posted by wolvez04 View Post
    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.
    __________________
    Github: https://github.com/jimppan
    Steam: http://steamcommunity.com/id/jimppan
    _____________________________________________ _________
    Taking private requests

    Last edited by Rachnus; 06-12-2016 at 11:57.
    Rachnus is offline
    wolvez04
    Senior Member
    Join Date: Feb 2016
    Location: Andora
    Old 06-12-2016 , 12:13   Re: [CS:GO] Propshooter (v1.0 12/6/2016)
    Reply With Quote #6

    Yes! I am yet to upgrade to the new version, thanks :p
    wolvez04 is offline
    Rachnus
    Senior Member
    Join Date: Jun 2016
    Location: Funland
    Old 06-12-2016 , 12:19   Re: [CS:GO] Propshooter (v1.0 12/6/2016)
    Reply With Quote #7

    Quote:
    Originally Posted by wolvez04 View Post
    Yes! I am yet to upgrade to the new version, thanks :p
    No problem
    __________________
    Github: https://github.com/jimppan
    Steam: http://steamcommunity.com/id/jimppan
    _____________________________________________ _________
    Taking private requests
    Rachnus is offline
    asdfxD
    Veteran Member
    Join Date: Apr 2011
    Old 06-13-2016 , 00:17   Re: [CS:GO] Propshooter (v1.0 12/6/2016)
    Reply With Quote #8

    tried to add elephant, but it is not working.

    "Elephant"
    {
    "name" "Elephant"
    "path" "models/props_fairgrounds/elephant.mdl"
    }
    asdfxD is offline
    Rachnus
    Senior Member
    Join Date: Jun 2016
    Location: Funland
    Old 06-13-2016 , 04:02   Re: [CS:GO] Propshooter (v1.0 12/6/2016)
    Reply With Quote #9

    Quote:
    Originally Posted by asdfxD View Post
    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.
    __________________
    Github: https://github.com/jimppan
    Steam: http://steamcommunity.com/id/jimppan
    _____________________________________________ _________
    Taking private requests

    Last edited by Rachnus; 06-13-2016 at 04:05.
    Rachnus is offline
    Pala4
    Senior Member
    Join Date: Dec 2007
    Old 06-13-2016 , 06:38   Re: [CS:GO] Propshooter (v1.0 12/6/2016)
    Reply With Quote #10

    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:210: [SM] Exception reported: Array index is out of bounds
    L 06/13/2016 - 08:210: [SM] Blaming: propshooter.smx()
    Pala4 is offline
    Reply



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 18:31.


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