Skocz do zawartości

Nowy szablon forum

mygo.pl

Stworzyliśmy dla Was nowy wygląd forum. Z pewnością znajdziesz rzeczy, które wg Ciebie mogą zostać zmienione - wspomnij o tym w specjalnym wątku.

Czytaj więcej

Jak założyć własną sieć

serwerów CS

Zastanawiasz się nad prowadzeniem własnej sieci serwerów? Przeczytaj podstawowe informacje, na które należy zwrócić uwagę, przy takim projekcie.

Czytaj więcej

Tworzymy spis sieci

dodaj swoją

Dodaj sieć do której należysz, pozwoli to na promocję i budowę ogólnopolskiej bazy sieci CS.

Czytaj więcej

MYGO.pl

RSSy
  • Postów

    28629
  • Dołączył

  • Ostatnia wizyta

    nigdy
  • Wygrane w rankingu

    11

Treść opublikowana przez MYGO.pl

  1. NOTE:Alot of this plugin is just code from others, put into one to make it easier for people setting up the plugin, I do not claim ANYTHING from these plugins, except the code I write myself. :bee: Description: So it's an auzzie bloody miracle. All the snipers have been put into an arena, only consisting of saxxies and no doors?!. An grace period is announced, and the auzzies realise that have to fight for there lives. They run off and hide, and fight, the last one alive wins the best Saxxy of all time!... The end? This plugin is an hunger games type plugin which can allow you to set respawn times (Should always be infinite) and set custom player spawns, which supports different maps etc. Features : - Everyone is placed in RED - Everyone is made a sniper! - Set custom player spawns! - Disables capping! - No one alive can hear the dead! - As a result of everyone on RED, You can spectate everyone! - The last 2 alive get beacons! (Might be buggy) Bugs : - Returning Plugin_Handled does not seem to disable resupply cabinets, no matter what I do. - Every now and again some people might get put onto BLU, usually happens for 1 round and then it resets back to normal. Commands : sm_drop - A test command, should just drop some brass fists on the ground. sm_hgfer/sm_hgforceendround <team> - A command to force end the round, and the team that wins. hgspawn_add - Adds a Hunger Games Spawn hgspawn_remove - Removes a Hunger Games Spawn closest to you (Note : You must on top of it or right next to it. hgspawn_save - Saves all the spawns and puts them into /tf/scripts/hgspawn/mapname_spawns.cfg hgspawn_reload - Reloads an spawns config if updated. sm_hgcap_enable/disable - Disables or enables capping. Installation : - Install TF2Items - Install TF2Items Give Weapon - Create a folder called hgspawn in /tf/scripts/ - In your server.cfg, add a line which says "sm_hgrespawn_time_red 999999" - Put the tf2hungergames.smx into /tf/addons/sourcemod/plugins/ How to add HG Spawns - Load up a map, and find a spot where you want a client to spawn - Type /hgspawn_add red to add a spawn. - Add as many spawns as you want on the map. - Once you are done, type /hgspawn_save and everything should be saved! To Do: - Replace a lot of the code with my own. - Disable resupply cabinets Attached Files Get Plugin or Get Source (tf2hungergames.sp - 45.6 KB) tf2hungergames.smx (31.0 KB) Wyświetl pełny artykuł
  2. The concept behind Duels is to create realistic 1v1 situations that can occur on maps played in tournaments like Dust2, Mirage, Cache, Overpass, Train etc. It’s a brand new(ish) tool for practice and is primarily focused on positioning, peaking, and map knowledge. Knowing how to peak someone, how to clear angles with quick peaks etc. You can of course say that Deathmatch is just that but let me remind you that Deathmatch has its faults. Who hasn’t been enraged just because you immediately die after you spawned or when you are shot in the back over and over again? Often, you shoot players from behind and think you are the king of CS, but really, what does that do for you in terms of improving? Duels have none or very limited of that. You can say that Duels is a mix between Arena 1on1 and Deathmatch with instant spawns. Best of two worlds. Download 'Duels 1.0.7z' Download 'modified_spawntools.7z' Extract all the files inside right paths. Host workshop maps - https://steamcommunity.com/sharedfil.../?id=810773843 Set max slot limit to 16 Your done There might be bugs as this is still beta, so if you find any, please report them! And please report them with as much information as you can get. !status: while plugin is still in beta version, there is status command to get information about different things. If you or someone gets stuck or some other bug happens, would be nice to get info from this. !guns: pick your guns, with what you want to play. !spawn: admin command to teleport to some kind of arena. Mostly will be used to create custom spawnpoints. There are 3 config files, main config file is located in cfg/sourcemod/1v1DM/1v1DM.cfg sm_print_damage_given 1: Print in chat how much damage is given to enemy. sm_show_username 1: Show username in left top corner. sm_prefix "{GREEN}[DUELS]{WHITE} ": Prefix for the chat. sm_enable_rifles 1: Allow to pick rifles from guns menu (for pistols only servers set 0). sm_enable_pistols 1: Allow to pick pistols from guns menu (for rifles only servers set 0). sm_give_armor 1: Give armor to player when new duel starts. sm_give_helmet 1: Give helmet to player when new duel starts. sm_weapon_menu_on_join 0: Open weapon menu (default menu) when player joins the server. sm_enable_awp_duels 1: Enable AWP duels option. sm_duel_delay 1.4: How long it will wait to find a new enemy (longer time means winner will stay longer in arena after duel win, but there will be bigger possibility to get different opponent). sm_nodamage_new_enemy 25.0: Enable AWP duels option. sm_all_player_killfeed 0: 0 will show ony killfeed in top right corner of your own kills, 1 will show all kills. Other two config files are located at cfg/sourcemod/1v1DM/game_cvars.cfg (here will ) Always weapon skins: https://forums.alliedmods.net/showthread.php?p=2112938 . So you got weapon skins on both sides of the teams. splewis - some parts of the code has been taken from multi1v1 Ejziponken - for helping me out testing and testing Attached Files Duels 1.0.7z (56.6 KB) modified_spawntools.7z (23.0 KB) Wyświetl pełny artykuł
  3. MYGO.pl

    [Any] Get IP

    [Any] Get IP Description: This is my first plugin that i'm uploading here on Alliedmods. A very simple plugin that can get IP's from players. I couldn't find a get ip plugin here yet, so i decided to upload it, plus its compatible with all multiplayer games. Commands: sm_getip <#userid|name> - gets ip. Again, very simple plugin, but it works! :wink: Attached Files Get Plugin or Get Source (GetIP.sp - 861 Bytes) Wyświetl pełny artykuł
  4. Hello here is ThirdPerson_To_POV. ThirdPerson to POV will turn most thirdperson events back in to point of view(from the eyes of the survivor) I thought it would be more realistic rather than the astral projection that valve give's you by default while doing actions like healing or getting pounced by a hunter. This is rather simple right now as I have no motivated to code right now so i'm releasing as is. Configurable option's may be added later once I start coding again. If your using my Left 4 Dead 2 Model Changer use the version attached below for tankhits to display model. Enjoy, Let me know how you like Thirdperson to pov :3 Attached Files Get Plugin or Get Source (ThirdPerson_To_Pov.sp - 6.1 KB) Get Plugin or Get Source (L4D2ModelChanger___POVCompatable.sp - 66.2 KB) Wyświetl pełny artykuł
  5. [ANY] Map History About A simple map history plugin which allows players to type !maps or !maphist to view what maps were played before, time it started, and also the reason it was changed all in a simple menu for all players. Screenshot Installation Copy hl_maphistory.smx to /sourcemod/plugins/ folder Load the plugin in game Enjoy. Cvars Code: maphistory_display_amount - Change the display amount for sm_maphistory (default 5) Compiles here on the forums :D Attached Files Get Plugin or Get Source (hl_maphistory.sp - 4.8 KB) Wyświetl pełny artykuł
  6. Description: This plugin blocks/limits classes for humans! It can run alongside Class Restrictions For Bots that blocks/limits classes for bots Cvars: PHP Code: sm_crh_enabled 1 //(0/1, default 1) Enable/disable restricting classes for humans in TF2. sm_crh_immunity 0 //(0/1, default 0) Enable/disable admins being immune to restricting classes in TF2. sm_crh_flags "b" //(default "") Admin flags for immunity against restricting classes in TF2. So admins can use limited/blocked classes. //They are still counted towards the limit. If multiple flags are provided, at least one has to be true. Cvar sm_crh_immunity has to be enabled. sm_crh_classmenu 0 //Enables/disables the class menu popping up when you pick the wrong class. sm_crh_sounds 0 //Enables/disables the Nope sound when you pick the wrong class. sm_crh_blu_demomen -1 sm_crh_blu_engineers -1 sm_crh_blu_heavies -1 sm_crh_blu_medics -1 sm_crh_blu_pyros -1 sm_crh_blu_scouts -1 sm_crh_blu_snipers -1 sm_crh_blu_soldiers -1 sm_crh_blu_spies -1 // Limits for Blu human classes in TF2. (-1 for no limit, 0 is disabled, 1 or anything higher will be the limit for that class. Default -1) sm_crh_red_demomen -1 sm_crh_red_engineers -1 sm_crh_red_heavies -1 sm_crh_red_medics -1 sm_crh_red_pyros -1 sm_crh_red_scouts -1 sm_crh_red_snipers -1 sm_crh_red_soldiers -1 sm_crh_red_spies -1 // Limits for Red human classes in TF2. (-1 for no limit, 0 is disabled, 1 or anything higher will be the limit for that class. Default -1) Important info: Plugin limits classes when humans spawn, so if you change limits after they have been spawned then you have to wait until they die or you can slay them (for changes to take effect). REMOVE AN OLDER VERSION OF THIS PLUGIN OR OTHER PLUGINS FOR CLASS RESTRICTION BEFORE INSTALLING THIS PLUGIN! Also, disable the tf2 default classlimit if enabled(the plugin disables this cvar but only once). Autobalance can also cause problems, depending on your settings. Installation: Autogenerates a .cfg file in cfg\sourcemod when you load it for the first time. Download the plugin(or the source and compile it yourself) Put the .smx file in tf\addons\sourcemod\plugins Load the plugin manually/Change the map/Restart the server Changelog: 9.12.2013 - 1.1 - Initial release Changes done to the original plugin: - It ignores bots - Autogenerated cfg file in tf/cfg/sourcemod folder - Cvars were renamed to sm_crh_* to be shorter - Check for max humans was added (so if you have more humans than limits, it will change scouts limit to unlimited) - Added game check 10.12.2013 - 1.11 - Removed unnecessary code - Optimized code a bit 21.4.2016 - 1.12 - Changed .wav sounds to .mp3 - Removed the print to all error messages - Logging errors when there are more humans than cvars allow - Added url to this thread 14.06.2016 - 2.00 - Reworked a big part of this plugin - Config file is now called Class_Restrictions_For_Humans - Added flag FCVAR_DONTRECORD for the version cvar so it doesnt appear in the config file - Removed flag FCVAR_PLUGIN - deprecated - Added cvars: sm_crh_text, sm_crh_sounds, sm_crh_classmenu - The plugin will now inform the player that the class is full - Cvar tf_classlimit is now being set to 0 so it doesnt break the plugin - Reworked the functions that check whether there is space for a player - Code optimizations 03.07.2016 - 2.10 - Transitional Syntax - Removed convar change hook for tf_classlimit - Changing m_lifeState when changing classes/teams - Better code readability - Modified version cvar flags 21.07.2016 - 2.11 - Changed handle type for convar handles to ConVar 05.04.2017 - 3.00 - Rewritten the third time - Fixed a bug where players could change to a class that wasnt allowed - The plugin now properly checks the number of players playing that class - Removed sound files from being precached and added to the download table - Code optimization and performance improvements Credits: DJ Tsunami for his team restricting plugin Attached Files Get Plugin or Get Source (ClassRestrictionsForHumans.sp - 12.0 KB) Wyświetl pełny artykuł
  7. Quick Map Changer Don't really like copying and pasting, so have this link: https://github.com/hahiserw/sourcemod-qmc If you are too lazy though... tl;dr for you: Type "!qmc lkn" ??? Enjoy playing on dm_lockdown PS. I wrote "HL2DM" in the title, but I think it might work for more games. I tested it only with HL2DM server. Attached Files Get Plugin or Get Source (qmc.sp - 3.9 KB) qmc.phrases.txt (333 Bytes) qmc.smx (5.1 KB) Wyświetl pełny artykuł
  8. Description One person is a murderer with a knife, who is trying to secretly kill off the other players. The other players must use their wits to find out who it is and kill them first. Unfortunately they only have the one gun between them. ^ Stolen from here How it works At the start of the round the plugin randomly selects 1 murderer to kill all the innocents and 1 innocent to get a gun. Every 20 seconds after the start of the round the plugin will choose 1 prop_dynamic(_override) to become the new piece of evidence for innocents to find to work towards a gun. ConVars Spoiler murder_min_players - default 3 murder_trail_life - default 5.0 murder_evidence_count - default 3 Todo Spoiler Add an ability for server managers to place their own weapon spawns Block pickup weapon sounds Known Bugs Spoiler None yet :D(there will be some :() Changelog Spoiler 1.0 Initial Release Credits The maintainers of the TTT plugin for figuring out how to stop the scoreboard from updating alive/dead Despirator for the env_spritetrail fix Side note to this didn't realize their was already one released whoops oh well more the merry Github Attached Files Get Plugin or Get Source (CSGOMurder.sp - 15.3 KB) CSGOMurder.smx (14.5 KB) Wyświetl pełny artykuł
  9. MYGO.pl

    Hud Write

    Hud Write V 1.0 Command : !hwrite <TEXT> Screen Shots : Script : PHP Code: #pragma semicolon 1 #define DEBUG #define PLUGIN_AUTHOR "Mithat Guner" #define PLUGIN_VERSION "1.00" #include <sourcemod> #include <sdktools> public Plugin myinfo = { name = "HUD Write", author = PLUGIN_AUTHOR, description = "HUD Write", version = PLUGIN_VERSION, url = "pluginler.com" }; public void OnPluginStart() { RegAdminCmd("sm_hwrite", write, ADMFLAG_GENERIC, "HUD Write - Mithat Guner"); } public Action write(int client, int args) { if (args < 1) { ReplyToCommand(client, "Use: sm_hwrite <text>"); return Plugin_Handled; } decl String:text[192]; GetCmdArgString(text, sizeof(text)); for(int i = 1; i <= MaxClients; i++) { if(IsClientInGame(i) && !IsFakeClient(i)) { SetHudTextParams(0.45, 0.350, 3.0, 0, 0, 255, 255, 0, 0.25, 0.5, 0.3); ShowHudText(i, 1, text); } } return Plugin_Handled; } Attached Files mithat_hudyazisi.smx (4.3 KB) Get Plugin or Get Source (mithat_hudyazisi.sp - 917 Bytes) Wyświetl pełny artykuł
  10. Installation: server/cfg/sourcemod/plugins/sm_setammo.smx Commands: sm_setammo arg1 arg2 arg3 arg4 arg5 Usage: Command "sm_setammo" is a server-side, therefore must be used in the server console. 1st argument - client index (1-32); 2nd argument - weapon slot, primary or secondary (0, 1); 3rd argument - clip size; 4th argument - ammo; 5th argument - clip size of upgrade ammo. Example of usage in "Func_Timer" of Speedrunner Tools addon: Code: hPlayer.GiveItem("pumpshotgun"); SendToServerConsole("sm_setammo " + hPlayer.GetEntityIndex() + " 0 5 10"); NOTE: Before adding number of upgrade ammo, it is necessary to have it in your weapon. Links: Speedrunner Tools: http://steamcommunity.com/sharedfile.../?id=510955402 Attached Files Get Plugin or Get Source (sm_setammo.sp - 3.5 KB) Wyświetl pełny artykuł
  11. Description Adds a new command that does what the sm_play command did on CS:S and similar games to CS:GO, by reading the sounds directory and precaching/downloading, and using EmitSoundAny to play them to the clients. Commands Spoiler sm_customplay <#userid|name> <filename> Changelog Spoiler 1.0 Initial Release Source All the code in the Command_CustomPlay function besides 1 line is credited to the sounds plugin that was made by Alliedmods Attached Files Get Plugin or Get Source (FixPlayCommand.sp - 3.2 KB) FixPlayCommand.smx (7.5 KB) emitsoundany.inc (6.0 KB) Wyświetl pełny artykuł
  12. Description Custom MVP anthem for CSGO, with clientprefs support. Install Upload files to your server. Edit configs/kento_mvp.cfg if you want to add more MVP anthem, and don't forget to upload your file to both server and fastdl. Cvars This plugin doesn't have any cvar now. Commands PHP Code: sm_mvp //Select your MVP anthem. Changelog Spoiler 1.0 Release. Known Bugs Github Issues To Do Nothing to do. Donate If you apreciate my work, you can donate me via steam trade offer Git Repo Download Wyświetl pełny artykuł
  13. [CS:GO] Mark Enemies v.1.0 Description: Quote: Mark your enemies by making them glow and displaying them onto the map for your teammates. You can mark them using the E (use) key or by doing damage. Dependency: Quote: Sourcemod 1.8+ Metamod 1.10+ Installation: Quote: Place markenemies.smx to addons/sourcemod/plugins/ Place markenemies.cfg to cfg/sourcemod/ and edit your convars to fit your needs ConVars: Quote: sm_markenemies_enabled - (Default: 1) - Enables/Disables plugin sm_markenemies_duration - (Default: 5.0) - How long should the mark last? sm_markenemies_trigger - (Default: 3) - When should enemies be marked? 1 - Use key, 2 - On damage, 3 - Both sm_markenemies_global - (Default: 1) - Enable for everyone on server, 0 - Off, 1 - On Commands: Quote: sm_markenemies <client> <1:ON | 0:OFF> - Enables mark enemies on players. sm_markenemiesme - Enables mark enemies on yourself. Version Log: Quote: v.1.0 - Release Download Source *Got lazy writing this plugin, so here is what i wrote so far* Wyświetl pełny artykuł
  14. Hello ,This is new plugin was developed by me PHP Code: #include <sourcemod> #include <sdktools> #include <sdkhooks> new String:g_szPlayerManager[50] = ""; // Entities new g_iPlayerManager = -1; // Offsets new g_iPing = -1; #define PLUGIN_URL "https://github.com/McDaived" #define PLUGIN_VERSION "1.0" #define PLUGIN_AUTHOR "McDaived" public Plugin:myinfo = { name = "Ping Faker", author = PLUGIN_AUTHOR, description = "Change ping for the players on scoreboard", version = PLUGIN_VERSION, url = PLUGIN_URL }; public OnPluginStart() { CreateConVar("fp_version", PLUGIN_VERSION, "", FCVAR_PLUGIN|FCVAR_REPLICATED|FCVAR_NOTIFY|FCVAR_CHEAT|FCVAR_DONTRECORD); g_iPing = FindSendPropOffs("CPlayerResource", "sm_iPing"); decl String:szBuffer[64]; GetGameFolderName(szBuffer, sizeof(szBuffer)); if (StrEqual("cstrike", szBuffer)) strcopy(g_szPlayerManager, sizeof(g_szPlayerManager), "cs_player_manager"); else if (StrEqual("dod", szBuffer)) strcopy(g_szPlayerManager, sizeof(g_szPlayerManager), "dod_player_manager"); else strcopy(g_szPlayerManager, sizeof(g_szPlayerManager), "player_manager"); CreateTimer(2.0, LoopClients, _, TIMER_REPEAT); } public OnMapStart() { g_iPlayerManager = FindEntityByClassname(MaxClients + 1, g_szPlayerManager); if (g_iPlayerManager == -1 || g_iPing == -1) { SetFailState("Something is missing!"); } SDKHook(g_iPlayerManager, SDKHook_ThinkPost, OnThinkPost); } new iPing[MAXPLAYERS+1]; public Action:LoopClients(Handle:timer) { for (new i = 1; i <= MaxClients; i++) { if (!IsClientInGame(i)) continue; new ping = Client_GetFakePing(i, false); if (ping <= 30) { continue; } else if (ping <= 50) { iPing[i] = GetRandomInt(20, 25); } else if (ping <= 90) { iPing[i] = GetRandomInt(50, 55); } else { iPing[i] = GetRandomInt(70, 77); } } } public OnClientDisconnect(client) { iPing[client] = 0; } public OnThinkPost(entity) { for (new target = 1; target <= MaxClients; target++) { if (iPing[target] != 0) { SetEntData(g_iPlayerManager, g_iPing + (target * 4), iPing[target]); } } } #define TICKS_TO_TIME(%1) ( GetTickInterval() * %1 ) stock Client_GetFakePing(client, bool:goldSource=true) { decl ping; new Float:latency = GetClientLatency(client, NetFlow_Outgoing); // in seconds // that should be the correct latency, we assume that cmdrate is higher // then updaterate, what is the case for default settings decl String:cl_cmdrate[4]; GetClientInfo(client, "cl_cmdrate", cl_cmdrate, sizeof(cl_cmdrate)); new Float:tickRate = GetTickInterval(); latency -= (0.5 / StringToInt(cl_cmdrate)) + TICKS_TO_TIME(1.0); // correct latency if (goldSource) { // in GoldSrc we had a different, not fixed tickrate. so we have to adjust // Source pings by half a tick to match the old GoldSrc pings. latency -= tickRate * 0.5; } ping = RoundFloat(latency * 1000.0); // as msecs ping = Math_Clamp(ping, 5, 1000); // set bounds, dont show pings under 5 msecs return ping; } stock any:Math_Clamp(any:value, any:min, any:max) { value = Math_Min(value, min); value = Math_Max(value, max); return value; } stock any:Math_Max(any:value, any:max) { if (value > max) { value = max; } return value; } stock any:Math_Min(any:value, any:min) { if (value < min) { value = min; } return value; } public Action OnClientCommand(int client, int args) { char cmd[16]; GetCmdArg(0, cmd, sizeof(cmd)); if (StrEqual(cmd, "p_faker")) { return Plugin_Handled; } return Plugin_Continue; } public void_OnPluginStart() { RegConsoleCmd("iping", Command_Test); } public Action Command_Test(int client, int args) { char arg[128]; char full[256]; GetCmdArgString(full, sizeof(full)); if (client) { PrintToServer("Ur Ping : %N"); } else { PrintToServer("done Fake ur Ping."); } PrintToServer("done Fake ur Ping: %s", full); PrintToServer("done Fake ur Ping: %d", args); for (int i=1; i<=args; i++) { GetCmdArg(i, arg, sizeof(arg)); PrintToServer("Argument %d: %s", i, arg); } return Plugin_Handled; } Attached Files Ping Faker.7z (8.6 KB) Wyświetl pełny artykuł
  15. Here is a quick plugin to help deal with a new cheat feature that allows the user to cause the bomb to instantly explode and to defuse instantly. It will permanently ban a client if the bomb_planted and bomb_exploded or bomb_begindefuse and bomb_defused are less than a second apart. Hopefully this won't be needed for long. Attached Files Get Plugin or Get Source (punish_instant_bomb.sp - 1.3 KB) Wyświetl pełny artykuł
  16. Hello everyone, this is my first time here and i don't speak english really well so forgive me please. Description: This plugin implements muselk's zombie mode (i believe he had the idea but i coded the plugin on my own). The zombies are the blue medics and the survivor are the red engineers. The gameplay is the classic zombie mode gameplay; once a survivor dies, he becomes a zombie. The game ends only with zombies's victory (if every survivor died). Features: Zombies can only be medic. Zombies can only use melee weapons. Survivors can't build sentries but they can build everything else. All doors are open (well, more like deleted from the map). Every other game mechanic (capture, payload pushin, etc.) has been desactivated. Version History: This is the first version so nothing to see here. Upcoming Features: Cleaning the corpses (it really is heavy on my gpu even though it's decent) Commands Custom round times (it relies on the map itself at the moment) Cvars Power up for the medics during the last minute. Stunning the zombies during the first seconds Muselk's version: Muselk is a well known tf2 youtuber some time ago, he made a video about a custom gamemode : zombie vs engineers. He later got a plugin (made it himself?) and set up some public server but those were always full and closed after a few months. I couldn't find this plugin anywhere so i coded it myself. You can see muselk's video about it here: https://www.youtube.com/watch?v=_OGELQemdKE My version: I recorded myself playing with bots so you could check it by yourself: https://www.youtube.com/watch?v=-gCd...ature=youtu.be You can also play on my test server which i quickly set up on my vps: 51.254.138.48 Attached Files Get Plugin or Get Source (engiesVSmedics.sp - 12.8 KB) Wyświetl pełny artykuł
  17. Description Ever had players ghosting on your servers with no idea who they are ghosting with? Well fear no longer, with one simple command you can find out which players in your server are the known ghoster's friend! Dependencies Steamworks is required ConVars Spoiler friends_api_key - Set this to whatever is your steamapi key(https://steamcommunity.com/dev/apikey) Changelog Spoiler 1.0 Initial Rlease Make sure you set the "friends_api_key" convar in your server.cfg or a file like that Attached Files Get Plugin or Get Source (Friendslist.sp - 4.4 KB) Friendslist.smx (11.5 KB) Wyświetl pełny artykuł
  18. This is my developed version of "Potatoz" Simple Warnings. Command List !warn <name / ID> [reason] | ADMFLAG_BAN !warnmic <name / ID> [reason] | ADMFLAG_BAN !resetwarnings <name / ID> | ADMFLAG_ROOT !warnings <name / ID> | Free command. Cvar List - To edit the configs of the plugin go to: cfg/sourcemod/plugin_simplewarnings sm_warn_maxwarnings_enabled | Enable automatic ban after max amount of warnings reached? 1 = Enabled 0 = Disabled sm_warn_maxwarnings | Max amount of total warnings before banning a player. 0 = Disabled sm_warn_maxwarnings_reset | Reset warnings after automatic ban? 1 = Enabled 0 = Disabled sm_warn_banduration | How long, in minutes, should a player be banned after recieving the max amount of warnings? sm_warn_maxroundwarnings | Max amount of warnings in a single round / map before banning a player. sm_warn_mic | Enable mic warnings? 1 = Enabled 0 = Disabled sm_warn_mictoban | Will a mic warning lead to a ban? 1 = Yes 0 = No sm_warn_microundtotal | Will a mic warning add to a players round / map warnings? 1 = Yes 0 = No sm_warn_announce | Enable pre-game announcments to admins? 1 = Enabled 0 = Disabled sm_warn_roundreset | Style to reset warnings, 1 = Round 0 = Map Start *PLEASE NOTE* All credit for the logic of this plugin should go to "Potatoz" TODO MySQL Integration Web Panel to view warnings. Source Code: Github Link Wyświetl pełny artykuł
  19. Chicken Strike A plugin in which players move like chickens, look like chickens, sound like chickens, BUT, they also have guns. The goal is simply to kill the enemy team, but as you have very little health and are too slow to evade fire, you must hide with normal chickens scattered across the map. When you hold your knife, you cannot do damage and are hidden (nobody will see your gun), but as soon as you draw a gun, it will appear at your side, and will become an easy target. To behave like a real chicken, you can make sounds with a command (bind it to a key). You would think it's easy, because you would just have to kill every chicken and hope you kill a player, but you cannot kill more than one non-player chicken until you kill yourself. This plugin also modifies the smokes and the decoys: Smokes creates a lot of chickens so you can hide with them, and the decoys creates a chicken with your weapon drawn, to bait the other team. If the server operator enables it with a cvar, players can choose their own skin and hat with commands, he can also choose the amount of non player chickens to spawn (and more, see convar section) This plugin is best played in small maps like demolition or arms race, in classic casual or competitive. If you play on these maps, don't forget to set mp_buy_anywhere 1, because they do not have buy-zones. You can also make your own map! Disabling the radar may be a good idea, you can download plugins for that, like this one for example Features: Player chickens Play chicken sounds Smokes spawns chickens Decoy spawns an armed chicken Chickens can have skins and hats Blocks players from killing non-player chickens Hide view model to feel like a real chicken (little buggy with alt+tab and bot controlling, can be re-enabled) CVars: Code: // This file was auto-generated by SourceMod (v1.8.0.5981) // ConVars for plugin "chickenstrike.smx" // Set if chickens can wear a Bday hat. 0 = no, 1 = yes // - // Default: "0" // Minimum: "0.000000" // Maximum: "1.000000" cs_bday_hat "0" // Set if chickens can wear bunny ears. 0 = no, 1 = yes // - // Default: "0" // Minimum: "0.000000" // Maximum: "1.000000" cs_bunny_hat "0" // MIGHT CRASH SERVER IF TOO HIGH | Number of chickens to create on round start. min = 0, max = 1000 // - // Default: "100" // Minimum: "0.000000" // Maximum: "1000.000000" cs_chicken_number "100" // How many chickens (npc) the player can kill before being auto killed? 0 = no limit, x = can only kill x before dying // - // Default: "1" // Minimum: "0.000000" cs_chickenkill_limit "1" // Set if chickens can wear a ghost cap. 0 = no, 1 = yes // - // Default: "0" // Minimum: "0.000000" // Maximum: "1.000000" cs_ghost_hat "0" // Set player's health. min = 1, max = 30000 // - // Default: "15" // Minimum: "1.000000" // Maximum: "3000.000000" cs_health "15" // Set if chickens cannot have hats. If this is set to 0 and no hats are enabled, this will be ignored. 0 = no, 1 = yes // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" cs_no_hat "1" // Set whether players can choose hats and skins. 0 = no, 1 = yes // - // Default: "0" // Minimum: "0.000000" // Maximum: "1.000000" cs_playerstyles "0" // Set if chickens can wear a pumpkin head. 0 = no, 1 = yes // - // Default: "0" // Minimum: "0.000000" // Maximum: "1.000000" cs_pumpkin_hat "0" // Set the chicken's skin. 0 = white, 1 = brown, 2 = both // - // Default: "0" // Minimum: "0.000000" // Maximum: "2.000000" cs_skin "0" // Show view model? 0 = no, 1 = yes // - // Default: "0" // Minimum: "0.000000" // Maximum: "1.000000" cs_viewmodel "0" // Displays a welcome message to new players. 0 = no message, 1 = display message // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" cs_welcomemessage "1" // Set if chickens can wear a Xmas sweater. 0 = no, 1 = yes // - // Default: "" // Minimum: "0.000000" // Maximum: "1.000000" cs_xmas_hat "" Commands: Code: "cs_play_sound" (Play a sound based on player movement: idle if walking or idle, panic if running) If cs_playerstyles "1", players can use: "cs_set_skin" (Set player skin) "cs_set_hat" (Set player hat) Admin only: "cs_strip_weapons" (Removes all weapons from a specific player) Installation: Simply download chickenstrike.smx and place it inside "csgo/addons/sourcemod/plugins/" Know bugs: Reload text will show even when gun is full Foot shadow under player (hopefully this is only client-sided) More info: Feel free to request new features and report bugs, but keep in mind I'm a beginner in making plugins, so I can't promise anything! Media: Have fun!! Attached Files ChickenStrike-Source.zip (24.6 KB) chickenstrike.zip (19.6 KB) Wyświetl pełny artykuł
  20. Description Adaptation of Mitchell's plugin found here to allow it to be used in TF2Jail so that only the warden may use it at normal times. ConVars sm_jaillazer_version - Shows version Commands +laser - Main command to make the magical lasers appear (Bind this one) -laser - Main command to stop making the magical lasers appear (Not needed if bound) sm_grant <user> - Allows admins to give users permission to use lasers without being warden. sm_revoke <user> - Allows admins to take away a users permission to use lasers without being warden. sm_wgrant <user> <duration> - Allows warden to give people permission to use lasers without being warden for a set given time. sm_wardengrant <user> <duration> - Same as above. Note that all commands are default Ban admin flag. Requirements TF2Jail Plugin Includes tf2jail Anything you want to say leave it below. (Yes I am bad at commenting) Attached Files Get Plugin or Get Source (JailLazer.sp - 6.3 KB) Wyświetl pełny artykuł
  21. This plugin will catch any super-blatent rage hackers on your servers hitting nothing but headshots. Anyone who can hit 30 kills all headshots in the server instantly gets banned followed by a kick and an in-game announcement that the hacker was detected. TODO: - Add b3none_ac_enabled CVAR - Add b3none_ac_kill_limit CVAR - Have the plugin edit the kill limit's default value depending on the mp_maxrounds value. I plan to maintain this but there really isn't much more to add in, open to suggestions :3 Download Link: Click here Wyświetl pełny artykuł
  22. Gun Commands [CSGO] This plugin allows players on your server, to quickly buy a gun with the good old way, by typing! :) as this is my very first plugin, I'm looking to learn more from it and improve on it by writing more! Please let me know your feedback! Convars - sm_gc_dropprimary - forces the player to drop his/her primary weapon upon command usage (the gun he buys with a command will replace his current gun[if it's 1] (1 - forces player to drop , 0 - disabled) - sm_gc_givemoney - secret give money command - sm_gc_bizon_p - price for a bizon - sm_gc_ak_p - price for ak - sm_gc_awp_p - price for awp - sm_gc_m4_p - price for m4 - sm_gc_aug_p - price for aug - sm_gc_famas_p - price for famas Configuration & Installation To correctly install this plugin, just move .smx into your csgo/addons/sourcemod/plugins/ To configure and change the convars, go into /csgo/cfg/sourcemod/sm_guncommands_csgo.cfg [THE PLUGIN NEEDS TO BE LOADED BEFORE THIS IS SHOWN UP] Credits! Shanapu - help with a bunch of things ; timer,boolean EasSidezz - help with me understaind convars and the money system! Shadowz_au - general sourcemod help and more! I humbly thank everyone who've helped me, i will be working on this plugin more as i've yet to finish up the guns! Quote: Plans : - Add more guns (primary) - Add more guns (secondary) - Add grenades - add cvars for you to change command triggers eg : sm_gc_chatak "ak,ak47" etc - add cvars to customize weapon message eg : sm_gc_givemessage "An AK47 has been dropped by your feet!" Quote: Changelog : v1.0 - Launch! Attached Files Get Plugin or Get Source (sm_guncommands.sp - 8.8 KB) sm_guncommands.smx (15.3 KB) Wyświetl pełny artykuł
  23. Hey, I made a plugin that was very requested by the players of my community, and I decided to do it that simply gives a protection when you're inside buyzone, and you're buying it. I made this plugin thinking about my Surf Server. This plugin goes into action as long as you use the event enter_buyzone & exit_buyzone Games that work: Counter Strike: Global Offensive (tested) - For compile use ColorVariables: Quote: https://forums.alliedmods.net/showthread.php?t=267743 If you want to use this BuyZone Protect plugin on certain maps, use this Quote: https://forums.alliedmods.net/showth...=69506?t=69506 Credits: Hallucinogenic Troll (Sorry for my Bad English) Attached Files BuyZone_protect.smx (4.3 KB) Get Plugin or Get Source (BuyZone_protect.sp - 1.3 KB) Wyświetl pełny artykuł
  24. WOrks just "Headshot gets the boom headshot sound make sure you have the file located in sound folder bhs/boomheadshot.mp3", just need to be optimized for speed Attached Files Get Plugin or Get Source (BoomHeadshot.sp - 3.3 KB) Wyświetl pełny artykuł
  25. Description: You can plant and pickup C4 as CT Installation: Drop c4_troll.smx into addons/sourcemod/plugins/ Commands sm_c4on - Enable C4 pickuping as CT sm_c4off - Disable C4 pickuping as CT sm_c4 - Give C4 Requirements: PTaH Credits: komashchenko Attached Files Get Plugin or Get Source (c4_troll.sp - 2.2 KB) c4_troll.smx (5.1 KB) Wyświetl pełny artykuł
×
×
  • Dodaj nową pozycję...