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

SmCash


Post New Thread Reply   
 
Thread Tools Display Modes
IcEWoLF
Senior Member
Join Date: Jul 2007
Old 04-20-2009 , 23:51   Re: SmCash
Reply With Quote #71

I run this plugin for my server, however there is a problem!
I am the only one able to use it since I use the default flag "z" See code below for more details on the other admins flags.

Here is one of my admins:

Quote:
"STEAM_0:0xxx" "bcdefghjkm" //Hunter
And here is the cfg file for admin flags:

Code:
/**
 * There is no reason to edit this file.  Core uses this to map each named 
 * access type to a given ASCII character.  The names are all pre-defined.
 */
Levels
{
    /**
      * These are the default role flag mappings.
      * You can assign new letters for custom purposes, however you should
      * not change the default names, as SourceMod hardcodes these.
      */
    Flags
    {
        "reservation"    "a"            //Reserved slots
        "generic"        "b"            //Generic admin, required for admins
        "kick"            "c"            //Kick other players
        "ban"            "d"            //Banning other players
        "unban"            "e"            //Removing bans
        "slay"            "f"            //Slaying other players
        "changemap"        "g"            //Changing the map
        "cvars"            "h"            //Changing cvars
        "config"        "i"            //Changing configs
        "chat"            "j"            //Special chat privileges
        "vote"            "k"            //Voting
        "password"        "l"            //Password the server
        "rcon"            "m"            //Remote console
        "cheats"        "n"            //Change sv_cheats and related commands
        
        /**
         * Custom flags can be used by plugins, but they can also be used to 
         * for you to expand on the previous groups, using Overrides.
         */
        
        "custom1"        "o"
        "custom2"        "p"
        "custom3"        "q"
        "custom4"        "r"
        "custom5"        "s"
        "custom6"        "t"
        
        /**
         * Root is a magic access flag that grants all permissions.
         * This should only be given to trusted administrators.  
         * Root users can target anyone regardless of immunity, 
         * however, they themselves are not automatically immune.
         */
        "root"            "z"
    }
}
IcEWoLF is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 04-21-2009 , 03:29   Re: SmCash
Reply With Quote #72

Then set sm_cash_adminflags to what flag you want it to be.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
smithxxl
Member
Join Date: Jan 2008
Location: Indianapolis, IN
Old 04-21-2009 , 08:23   Re: SmCash
Reply With Quote #73

Default is 'o' and you can add that to the admins file.
smithxxl is offline
IcEWoLF
Senior Member
Join Date: Jul 2007
Old 04-21-2009 , 18:26   Re: SmCash
Reply With Quote #74

Quote:
STEAM_0:0xxx" "bcdefghjkmo" //Hunter
So just add the "o" in there?
IcEWoLF is offline
smithxxl
Member
Join Date: Jan 2008
Location: Indianapolis, IN
Old 04-21-2009 , 20:54   Re: SmCash
Reply With Quote #75

Yup IcEWoLF
smithxxl is offline
meng
Veteran Member
Join Date: Oct 2005
Location: us
Old 06-04-2009 , 14:40   Re: SmCash
Reply With Quote #76

hey, thx for the handy plug.

has anybody managed to get this plugin to work with the menu. sofar ive failed. im using the version in the first post. it functions otherwise.
meng is offline
Send a message via Yahoo to meng
cssBOT
Senior Member
Join Date: Apr 2009
Old 10-14-2009 , 01:28   Re: SmCash
Reply With Quote #77

Quote:
Originally Posted by mauirixxx View Post
It must be conflicting with one of the other plugins you have loaded, I've NEVER had my cash reset to $0 in the5 months or so of running this plugin.
It failed for me as well; resets all players cash to 0 at start of round by default.

sm_cash_round default is "". When I changed sm_cash_round +0 the problem goes away.
cssBOT is offline
erazor
Member
Join Date: Mar 2009
Old 12-05-2009 , 20:57   Re: SmCash
Reply With Quote #78

What do i have to put in my server.cfg file to allow the palyers to get $16000 every round?

Thanks
erazor is offline
erazor
Member
Join Date: Mar 2009
Old 12-27-2009 , 22:55   Re: SmCash
Reply With Quote #79

anyone?
erazor is offline
lsps
Member
Join Date: Nov 2008
Old 02-03-2010 , 15:15   Re: SmCash
Reply With Quote #80

extra_cash_on 1
extra_cash_amount 16000
lsps 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 07:40.


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