Raised This Month: $32 Target: $400
 8% 

[CS:S] Max Money


Post New Thread Reply   
 
Thread Tools Display Modes
mrbooge
New Member
Join Date: Oct 2014
Old 10-24-2014 , 09:19   Re: [CS:S] Max Money
Reply With Quote #21

Quote:
Originally Posted by Dino Penis View Post
I'm having a problem with this plugin. Before the CSS update, everything worked fine. Money was going up to 65000 like a good plugin. But after I've installed all the SM/MM updates, it seems the max is now 16000. The variable in server.cfg is max'd to 65000 so that cannot be the issue. I don't think it is any plugins I have installed atm, since I have not put any plugins for the past 2 months. Anyone have a fix to this?

I'm have the same problem
Please help

Last edited by mrbooge; 10-24-2014 at 09:43.
mrbooge is offline
Dino Penis
SourceMod Donor
Join Date: Apr 2010
Old 12-17-2014 , 02:27   Re: [CS:S] Max Money
Reply With Quote #22

I really miss this plugin. Could this be updated so it can work currently? Some of my other plugins require this to work and it hasn't been working for months .
Dino Penis is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 12-17-2014 , 12:13   Re: [CS:S] Max Money
Reply With Quote #23

I have updated the gamedata
Dr!fter is offline
egorka2
Member
Join Date: Jun 2010
Old 09-20-2017 , 17:37   Re: [CS:S] Max Money
Reply With Quote #24

L 09/21/2017 - 006:43: [SM] Exception reported: Failed to get AddAccount address
L 09/21/2017 - 006:43: [SM] Blaming: css-maxmoney.smx
L 09/21/2017 - 006:43: [SM] Call stack trace:
L 09/21/2017 - 006:43: [SM] [0] SetFailState
L 09/21/2017 - 006:43: [SM] [1] Line 44, /home/forums/content/files/2/6/0/2/1/102176.attach::OnPluginStart
egorka2 is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 09-20-2017 , 20:10   Re: [CS:S] Max Money
Reply With Quote #25

Quote:
Originally Posted by egorka2 View Post
L 09/21/2017 - 006:43: [SM] Exception reported: Failed to get AddAccount address
L 09/21/2017 - 006:43: [SM] Blaming: css-maxmoney.smx
L 09/21/2017 - 006:43: [SM] Call stack trace:
L 09/21/2017 - 006:43: [SM] [0] SetFailState
L 09/21/2017 - 006:43: [SM] [1] Line 44, /home/forums/content/files/2/6/0/2/1/102176.attach::OnPluginStart
what game are you using this on? This is for CS:S, CS:GO has this built in.
Dr!fter is offline
vn_lind
Member
Join Date: Jul 2017
Old 01-08-2019 , 12:35   Re: [CS:S] Max Money
Reply With Quote #26

is it possible this to be done to work only for custom flags ?
vn_lind is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 01-08-2019 , 13:13   Re: [CS:S] Max Money
Reply With Quote #27

Quote:
Originally Posted by vn_lind View Post
is it possible this to be done to work only for custom flags ?
First post plugin unbound 16000 limit.


To limit players max money, use second plugin.
Example.
PHP Code:
public void OnPluginStart()
{
    
HookEvent("player_spawn"player_spawn);
}


public 
void player_spawn(Event event, const char[] namebool dontBroadcast)
{
    
int client GetClientOfUserId(event.GetInt("userid"));

    if(
GetClientTeam(client) >= && GetEntProp(clientProp_Send"m_iAccount") > 16000 && !CheckCommandAccess(client"mp_maxmoney_override"ADMFLAG_CUSTOM1))
    {
        
SetEntProp(clientProp_Send"m_iAccount"16000);
    }

- Admin flag "o" custom1 default, you can change to another flag(s) from admins_override.cfg, using "mp_maxmoney_override" word.
Bacardi is offline
vn_lind
Member
Join Date: Jul 2017
Old 01-08-2019 , 13:38   Re: [CS:S] Max Money
Reply With Quote #28

i am not very good at this, can you please explain what do i need to do if i want to set for this 3 groups different highest amount to each one of them... i dont want this to be available for admins ,only for the groups with the flags below

"groups"
{
"silver"
{
"flag" "n"
"group" "vip silver"
}
"gold"
{
"flag" "m"
"group" "vip gold"
}
"platinum"
{
"flag" "l"
"group" "vip platinum"
}
}

Vip silver 20k

Vip Gold 30k

Vip platinum 65000k

so installing the plugin from the first post and then compile new plugin with the code you pasted ?

Last edited by vn_lind; 01-08-2019 at 13:42.
vn_lind is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 01-08-2019 , 17:52   Re: [CS:S] Max Money
Reply With Quote #29

Quote:
Originally Posted by vn_lind View Post
i am not very good at this, can you please explain what do i need to do if i want to set for this 3 groups different highest amount to each one of them... i dont want this to be available for admins ,only for the groups with the flags below
...

Vip silver 20k

Vip Gold 30k

Vip platinum 65000k

so installing the plugin from the first post and then compile new plugin with the code you pasted ?
Thanks to clarify, late.

Not sure you like this
https://forums.alliedmods.net/showthread.php?t=313419
Bacardi is offline
Reply


Thread Tools
Display Modes

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 01:20.


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