L 03/23/2018 - 01:56:18: [hl_gangs.smx] no such table: hl_gangs_players
L 03/23/2018 - 01:58:24: [hl_gangs.smx] no such table: hl_gangs_groups
L 03/23/2018 - 01:585: [hl_gangs.smx] no such table: hl_gangs_groups
L 03/23/2018 - 01:588: [hl_gangs.smx] no such table: hl_gangs_groups
L 03/23/2018 - 01:58:41: [hl_gangs.smx] no such table: hl_gangs_groups
L 03/23/2018 - 01:58:43: [hl_gangs.smx] no such table: hl_gangs_groups
can u make "insiders" colour. owner of guild have menu colours , he can pick one colour. lets say he choice yellow for example all in that gang see their members as yellow.
can u make "insiders" colour. owner of guild have menu colours , he can pick one colour. lets say he choice yellow for example all in that gang see their members as yellow.
That would make team ups easier
I think this is a little bit complex to do, but possible and not hard I guess. Colors are kind of limited in CS:GO.
Quote:
Originally Posted by j1gg
Zyten nice idea!
Also you can add option to donate credits for gang.
This is easy to do. I can help with that. I will work on it as soon as I have some free time (:
Hey I got a big cool feature you can do, called reputation, people can earn reputation by being in ct and survive like 5 minutes without dying. Terrorists can earn reputation by killings ct's. And by this you can show top gangs instead of like most cts kills. So people who are in one gang share their reputation with eachother.
I found a bug i have myjailbreak in different store database and gang diferent store database .
When someone make gang with ! or / like ( !boomgang ) for example player switch credit from each other ...
About:
This is a gangs plugin that allows people to create gangs and invite their friends! Once members of the gangs gather enough credits/points, they're able to unlock gang powerups! This allows people to get together and have some fun. Perks that gangs can work towards include extra health, damage, lower gravity, higher speed, and finally gang size increase! The powerups given are very slight, and do not impede gameplay in any way. Powerups are also disabled when there's only one terrorist left (last request). Give it a try!
Installation:
If you're running a supported store, go ahead and throw away hl_gangs_credits.smx since you don't need a store system. Due to the fact that gang's skill levels depend on credits, I included a default credit system that is very simple. This is just so the gangs plugin will work even if you don't have a supported store system.
hl_gangs_credits.smx doesn't require a database entry (it uses hl_gang's database)
Install plugin into sourcemod/plugins directory
Add database.cfg entry under hl_gangs (default cvar value)
Load plugins in game
Have fun
Commands:
Code:
sm_gangs
Cvar File:
cfg file
Code:
// This file was auto-generated by SourceMod (v1.8.0.5967)
// ConVars for plugin "hl_gangs.smx"
// Price of gang creation
// -
// Default: "20"
hl_gangs_creation_price "20"
// Disable the damage perk?
// Set 1 to disable
// -
// Default: "0"
hl_gangs_damage "0"
// Knife Damage perk modifier. 1.5 default
// -
// Default: "1.5"
hl_gangs_damage_modifier "1.5"
// Price of the Damage perk
// -
// Default: "20"
hl_gangs_damage_price "20"
// Name of the database for the plugin.
// -
// Default: "hl_gangs"
hl_gangs_database_name "hl_gangs"
// Enable the plugin? (1 = Yes, 0 = No)
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
hl_gangs_enabled "1"
// Disable the gravity perk?
// Set 1 to disable
// -
// Default: "0"
hl_gangs_gravity "0"
// Price of the Gravity perk
// -
// Default: "20"
hl_gangs_gravity_price "20"
// Disable the health perk?
// Set 1 to disable
// -
// Default: "0"
hl_gangs_health "0"
// Price of the Health perk
// -
// Default: "20"
hl_gangs_health_price "20"
// Set invite style to pop up a Menu?
// (1 = Menu, 0 = Registered Command)
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
hl_gangs_invite_style "1"
// Initial size for a gang
// -
// Default: "6"
hl_gangs_max_size "6"
// Price modifier for perks
// Set 0 to disable
// -
// Default: "0"
hl_gangs_price_modifier "0"
// Price to rename
// -
// Default: "40"
hl_gangs_rename_price "40"
// Disable the size perk?
// Set 1 to disable
// -
// Default: "0"
hl_gangs_size "0"
// Price of the Size perk
// -
// Default: "20"
hl_gangs_size_price "20"
// Disable the speed perk?
// Set 1 to disable
// -
// Default: "0"
hl_gangs_speed "0"
// Price of the Speed perk
// -
// Default: "20"
hl_gangs_speed_price "20"
Bugs:
If you have any issues or bugs then you should create an issue on GitHub!
/** * Outputs a formatted message to the client * * @param client client index * @return int gang size */ native void Gangs_Message(int client, const char[] format, any ...);
/** * Outputs a formatted message to all clients * * @param client client index * @return int gang size */ native void Gangs_MessageToAll(int client, const char[] format, any ...);
/** * Returns the size of a client's gang * * @param client client index * @return int gang size */ native int Gangs_GetGangSize(int client)
/** * Returns if a client is a member of a gang * * @param client client index * @return bool gang status */ native bool Gangs_HasGang(int client);
/** * Get a client's gang rank * * @param client client index * @return GangRank gang rank */ native GangRank Gangs_GetGangRank(int client);
/** * Get a client's gang name * * @param client client index * @return no return */ native void Gangs_GetGangName(int client, char[] buffer, int maxlength);
/** * Called after the main menu is built, but before it's displayed. * @param client Player's index. * @param menu Menu being displayed to the client. * @noreturn */ forward void Gangs_OnMenuCreated(int client, Menu menu);
/** * Called once a main menu item has been selected * @param menu Menu displayed * @param action Menu Action * @param param1 client index * @param param2 * @noreturn */ forward void Gangs_OnMenuCallback(Menu menu, MenuAction action, int param1, int param2);
/** * Called after the perk menu is built, but before it's displayed. * This is where you can add custom perks. See Gangs_OnPerkMenuCallback * * @param client Player's index. * @param menu Menu being displayed to the client. * @noreturn */ forward void Gangs_OnPerkMenuCreated(int client, Menu menu);
/** * Called once a perk menu item has been selected * @param menu Menu displayed * @param action Menu Action * @param param1 client index * @param param2 * @noreturn */ forward void Gangs_OnPerkMenuCallback(Menu menu, MenuAction action, int param1, int param2);
public SharedPlugin __pl_hl_gangs = { name = "hl_gangs", file = "hl_gangs.smx", #if defined REQUIRE_PLUGIN required = 1 #else required = 0 #endif };
HOW TO ASK A QUESTION: If you're having a problem, post containing information about what you have tried, exactly what is wrong, error logs, or other useful information. If you chose to not provide this information, no one's going to help you.
Hello, I have a problem with this plugin, when I start the server I get this error in the logs talking about BlockInvites probably in the transaltions, I went to see it and I have the BlockInvites in the file. Can someone help me?