RSSy MYGO.pl Opublikowano Styczeń 8, 2019 o 22:48 RSSy Udostępnij Opublikowano Styczeń 8, 2019 o 22:48 Not so important Because of this post https://forums.alliedmods.net/showpo...8&postcount=26 what next continue to this https://forums.alliedmods.net/showpo...2&postcount=28 I started build new plugin what I should not post in same topic as [CS:S] Max Money And I don't have no information, does this plugin already exist. So, this idea should be simple. - You can set default max. money, players can gain. (Player respawn event reset money amount when over limit) - And you can also set max. money limit to each admin groups.Install - Place plugin file ...addons/sourcemod/plugins/maxmoney_admin_groups.smx - Place config file ...addons/sourcemod/configs/maxmoney_admin_groups.cfgConfigure maxmoney_admin_groups.cfg - Add/rename admin groups with max. money value Code: // // Place this file ...addons/sourcemod/configs/maxmoney_admin_groups.cfg // Add admin group (admin_groups.cfg) and max. money value what specific group can gain overall. // ex. // "default" "16000" // Use this to set default max. money value to everyone // "Full Admins" "32000" // // // "Groups" { "default" "16000" // Default max. money value to set everyone. Removing this line or set value -1, stop limit players max. money "Vip Silver" "20000" // Max. money value by this admin group "Vip Gold" "30000" "Vip Platinum" "65000" } How to set admin/vip ?? - If you haven't know, you can give multiple admin groups to one admin. - You can create new empty admin group or use exist one.admin_groups.cfg Code: Groups { /** * Allowed properties for a group: * * "flags" - Flag string. * "immunity" - Immunity level number, or a group name. * If the group name is a number, prepend it with an * '@' symbol similar to admins_simple.ini. Users * will only inherit the level number if it's higher * than their current value. */ "Default" { "immunity" "1" } "Vip Silver" { } "Vip Gold" { } "Vip Platinum" { } "Full Admins" { /** * You can override commands and command groups here. * Specify a command name or group and either "allow" or "deny" * Examples: * ":CSDM" "allow" * "csdm_enable" "deny" */ Overrides { } "flags" "abcdefghi" /* Largish number for lots of in-between values. */ "immunity" "99" } } admins.cfg Code: /** * USE THIS SECTION TO DECLARE DETAILED ADMIN PROPERTIES. * * Each admin should have its own "Admin" section, followed by a name. * The name does not have to be unique. * * Available properties: (Anything else is filtered as custom) * "auth" - REQUIRED - Auth method to use. Built-in methods are: * "steam" - Steam based authentication * "name" - Name based authentication * "ip" - IP based authentication * Anything else is treated as custom. * Note: Only one auth method is allowed per entry. * * "identity" - REQUIRED - Identification string, for example, a steamid or name. * Note: Only one identity is allowed per entry. * * "password" - Optional password to require. * "group" - Adds one group to the user's group table. * "flags" - Adds one or more flags to the user's permissions. * "immunity" - Sets the user's immunity level (0 = no immunity). * Immunity can be any value. Admins with higher * values cannot be targetted. See sm_immunity_mode * to tweak the rules. Default value is 0. * * Example: "BAILOPAN" { "auth" "steam" "identity" "STEAM_0:1:16" "flags" "abcdef" } * */ Admins { "BAILOPAN" { "auth" "steam" "identity" "[U:1:12345678]" "group" "Full Admins" "group" "Vip Silver" } "BAILOPAN" { "auth" "steam" "identity" "STEAM_0:1:123" "flags" "abcde" "group" "Vip Gold" } "BAILOPAN" { "auth" "steam" "identity" "STEAM_0:1:1234" "group" "Vip Platinum" } "BAILOPAN" { "auth" "steam" "identity" "STEAM_0:1:12345" "group" "Vip Platinum" "group" "Vip Gold" "group" "Vip Silver" // Last group what have given is this player max. money amount } } *edit Ou ye, I have not test in CSGO game. Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi
Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto
Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.
Zarejestruj nowe konto
Załóż nowe konto. To bardzo proste!
Zarejestruj sięZaloguj się
Posiadasz już konto? Zaloguj się poniżej.
Zaloguj się