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

    28615
  • Dołączył

  • Ostatnia wizyta

    nigdy
  • Wygrane w rankingu

    11

Treść opublikowana przez MYGO.pl

  1. I simply updated the code and added the plugin version cvar to comply with the plugin release guide but I am not the author of this plugin. Authors : Originals authors : Darkranger & Andersso https://dodsplugins.mtxserv.fr/viewtopic.php?f=5&t=137 Description : This plugin replaces the AXIS SPADE with an AX and the ALLIES KNIFE with a MACHETE! Important : DONT FORGET TO COPY THE MATERIALS and MODELS TO YOUR FASTDOWNLOAD SERVER and CONFIG SV_PURE_WHITELIST CORRECTLY ! (if using sv_pure 1) Setting : Nothing Facility : Download Zip file. Unzip this file in your computer. Upload all file in your server, respect the folder architecture. Change map or restart server. Credits : I don't know who the authors of these models are, but if they recognize their work I would be happy to name them. Have fun... Attached Thumbnails Attached Files Get Plugin or Get Source (dod_spade_knife_model.sp - 8.9 KB) dod_spade_knife_models_Compil_1.11.0-6502.zip (1.09 MB) Wyświetl pełny artykuł
  2. . Detonation Control (l4d_det_cntrl) by Mystik Spiral Control gascan/molotov detonation based on customizable proximity Features: If a gascan or molotov detonation location is within a defined proximity of self/incapped/other survivor, prevent detonation, otherwise treat normally. This is very helpful if you have plugins that allow bots to throw molotovs. If a bot/player/griefer makes a bad molotov throw or shoots a gascan that would burn self/incapped/other survivor in the defined proximity, this plugin will prevent detonation. For gascans: Shooting the gascan when it is too close will not cause a fire, though you will see shot decals on the undetonated gascan. Move the gascan out of proximity and it will behave normally. For molotovs: Once a thrown molotov hits the ground, if it is too close, the molotov will skip across the ground like it does when hitting a wall. The undetonated molotov can be picked back up and thrown again. Throw the molotov out of proximity and it will behave normally. Options: Separate proximity values for gascan and molotov Separate proximity values for vertical and vector distance Separate proximity values for self, incapped, and other Separately enable/disable gascan and molotov protection Separately display/surpress gascan and molotov chat messages Language translations: English, French, Spanish, Russian, Chinese Notes: Vertical proximity is checked first. If no survivor is in vertical proximity, then detonation will happen as normal and the vector proximity check is skipped. Vertical refers to the distance in height only (above/below). Vector refers to the distance in three-dimensional space. Distance is measured to the survivors eye position. Requirements: The Left 4 DHooks Direct (left4dhooks.smx) plugin version 1.138 or higher is REQUIRED, and must be downloaded/copied to your server's "\addons\sourcemod\plugins\ directory. Credits: Silvers (SilverShot): Game type/mode detection/enable/disable template, left4dhooks plugin, examples, fixes, and general community help. Most recent update: Code: 14-Oct-2023 v1.0 - Initial release. Update history for older versions: Spoiler Code: . INSTALLATION: Download the l4d_det_cntrl.zip file to your server's \addons\sourcemod\ directory and extract the files. . Attached Files l4d_det_cntrl.zip (17.6 KB) Wyświetl pełny artykuł
  3. Ghost Plague: BHOP - v0.0.1, posted at : 14/10/2023 Bhop maps are fun but they end up getting boring. Now you can have fun playing bhop while you escape from ghosts :bacon: This is a beta version. The next updates will include Multi-Language, some optimizations and some more. I am posting this already because if there is someone interested on this mod maybe i get some help finding better models and sounds. I tested this locally, solo. The multiplayer functions should work properly, give me your feedback. InformationAfter X seconds a Ghost is randomly picked Ghosts must kill all the Humans Humans win if they survive the whole round Once you finish the map you get a deagle Knife and deagle kill spirits so you get insta kill on hit. Same goes for Ghosts. You have a model menu customizable via .ini file inside the configuration folder You can make the configurations per map so you can change roundtime and countdown time per map. Bhop blocks don't go down for better multiplayer gameplay. Requirements Auto BHOP by ConnorMcLeod Configuration file Code: ; Speed of Ghosts SPEED_GHOST 600.0 ;TransAlpha Value /Invisibility amount TRANSALPHA_GHOST 150.0 ;Time of a round in minutes ROUD_TIME 3 ;CountDown until first Ghost spawns in seconds COUNTDOWN_TIME 60 ; ;Models now V_KNIFE models/gp_bhop/v_knife.mdl V_GHOST_KNIFE models/gp_bhop/v_knife_ghost.mdl P_KNIFE models/gp_bhop/p_knife.mdl V_DEAGLE models/gp_bhop/v_deagle.mdl P_DEAGLE models/gp_bhop/p_deagle.mdl ;Sounds now, MUST BE .WAV FILES - Dont use sound/ for wav files HUMANS_VICTORY radio/ctwin.wav GHOSTS_VICTORY radio/terwin.wav ; MUSIC_COUNTDOWN MUST BE .MP3 FILE - here you must use sound/ for mp3 file MUSIC_COUNTDOWN sound/gp_bhop/countdown.mp3 Attached Files Get Plugin or Get Source (ghost.sma - 16.4 KB) ghost_plague_files.zip (1.56 MB) Przeczytaj cały wpis
  4. Description : This plugin makes pumpkins appear where a player has died. To prevent players from being blocked by pumpkins, the plugin checks if one of the players is too close to the dead player. To stick with the Halloween theme, when a flag is taken, it turns into a scarecrow. Setting : Setting file is in : dod/cfg/dod_halloween_objects/dod_halloween_objects.cfg PHP Code: // This file was auto-generated by SourceMod (v1.11.0.6502) // ConVars for plugin "dod_halloween_objects.smx" // 0 : disable, 1 : enable change flags by scarecrow // - // Default: "1" dod_Flags_enable "1" // 0 : disable, 1 : enable Spawn Pumpkins where dead player // - // Default: "1" dod_Pumpk_enable "1" // 0 : disable, 1 : enable Solid Pumpkins // - // Default: "1" dod_Pumpk_solid "1" // Maximum Number Objects in map 20 to 99 // - // Default: "20" // Minimum: "20.000000" // Maximum: "99.000000" dod_hal_num_obj "20" // 0 : disable, 1 : enable Plugin // - // Default: "1" dod_halloween_objects_enable "1" Credits : I don't know who the authors of these models are, but if they recognize their work I would be happy to name them. Have fun... Attached Thumbnails Attached Files Get Plugin or Get Source (dod_halloween_objects.sp - 14.1 KB) dod_halloween_object_Compil_1.11.0-6502.zip (3.67 MB) Wyświetl pełny artykuł
  5. Allows the new taunt Neck Snap to damage players. Convar: "sm_nk_friendlyfire_damage", "1", "Neck crack damage for teammates Allows you to toggle the ability to deal damage to allies. Attached Files Get Plugin or Get Source (neckcrack.sp - 2.5 KB) neckcrack.smx (5.7 KB) Wyświetl pełny artykuł
  6. MYGO.pl

    RSSZP 3.61 beta

    Hello everyone! I wonder is there any way to get Zombie Plague betas?(like 3.61). I love the old versions of 4.3 and I want to play them one more time. Przeczytaj cały wpis
  7. Hello! I want to add a small plugin to my zombie server, but the problem is that I'm still not very good at AMXX coding... In an old zombie server I saw that there is a "hudmessage" that says "XYZ has entered the server... Have a good game! (Rank X of Y) " and when he exits " Goodbye XYZ! We hope you come back" how could someone do that? Attached are the example pictures :D Even though the pictures are hungarian, any help would be appreciated! Attached Thumbnails Przeczytaj cały wpis
  8. Hello , i want a plugin like this : When admin write in chat /vot the game are in pause ( players cannot move ) At this time a message appear : " It's time to choose nextmap " in middle . ( if is possible the sound 'it's time to choose' is better ) And now admin can use amx_votemap . And players are not playing and can good choose the nextmap And when admin write in chat /stopvot , a new message appear : " This is the last round ! " Przeczytaj cały wpis
  9. Hello everyone, I have been working in the last couple of days on a pet plugin, many people in the community have helped me, but its still not close to the what we call it as an ideal movements. Thanks for all those people who really gave me a lot of ideas, specially: - BHaType - Lux - Shady - All other people who also tried to help me I will list the plugin here, this version is for improvements, I don't know where else I could list it, but currently I will be far for a while from the community. If anyone interested in taking over this, he is most welcome. Commands: sm_pet > to toggle pet in and out Requires: left4dhooks Video demonstration: YouTube - Test 5 - Be aware that the YouTube version has multiple other functions which I think is not suppose to be included in this test version as the main purpose is to improve the entire tracing mechanism. Thanks, and good luck Attached Files Get Plugin or Get Source (l4d2_pet_test.sp - 12.8 KB) l4d2_pet_test.smx (15.7 KB) Wyświetl pełny artykuł
  10. Hello, can someone help me add custom icons for custom weapons ? I try the revolver first... I started something here : Code: #include <amxmodx> #define PLUGIN "Weapon Icon" #define VERSION "1.2" #define AUTHOR "hoboman313/Zenix" #define MAX_PLAYERS 32 new iconstatus, pcv_iloc new user_icons[MAX_PLAYERS + 1][16] public plugin_natives() { register_native("GiveUserRevolver", "NativeGiveUserRevolver", false); register_native("IsUserHasRevolver", "NativeIsUserHasRevolver", false); } public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR); register_event("CurWeapon", "update_icon", "be", "1=1"); register_event("AmmoX", "draw_icon", "be"); register_event("DeathMsg", "event_death", "a"); pcv_iloc = register_cvar("amx_weapon_location", "1"); check_icon_loc(); precache_model("sprites/revolver.spr"); } public update_icon(id) { remove_weapon_icon(id); check_icon_loc(); if (get_pcvar_num(pcv_iloc) == 0 || is_user_bot(id)) return; static sprite[16], iwpn, clip, ammo; iwpn = get_user_weapon(id, clip, ammo); if (iwpn == CSW_CUSTOM_REVOLVER || iwpn == CSW_CUSTOM1) { sprite = "revolver.spr"; } else { switch (iwpn) { case CSW_P228: sprite = "d_p228"; break; case CSW_SCOUT: sprite = "d_scout"; break; case CSW_HEGRENADE: sprite = "d_grenade"; break; case CSW_XM1014: sprite = "d_xm1014"; break; case CSW_MAC10: sprite = "d_mac10"; break; case CSW_AUG: sprite = "d_aug"; break; case CSW_SMOKEGRENADE: sprite = "d_flashbang"; break; case CSW_ELITE: sprite = "d_elite"; break; case CSW_FIVESEVEN: sprite = "d_fiveseven"; break; case CSW_UMP45: sprite = "d_ump45"; break; case CSW_SG550: sprite = "d_sg550"; break; case CSW_GALIL: sprite = "d_galil"; break; case CSW_FAMAS: sprite = "d_famas"; break; case CSW_USP: sprite = "d_usp"; break; case CSW_MP5NAVY: sprite = "d_mp5navy"; break; case CSW_M249: sprite = "d_m249"; break; case CSW_M3: sprite = "d_m3"; break; case CSW_M4A1: sprite = "d_m4a1"; break; case CSW_TMP: sprite = "d_tmp"; break; case CSW_G3SG1: sprite = "d_g3sg1"; break; case CSW_FLASHBANG: sprite = "d_flashbang"; break; case CSW_DEAGLE: sprite = "d_deagle"; break; case CSW_SG552: sprite = "d_sg552"; break; case CSW_AK47: sprite = "d_ak47"; break; case CSW_KNIFE: sprite = "d_knife"; break; case CSW_P90: sprite = "d_p90"; break; case CSW_GLOCK18: sprite = "d_glock18"; break; case CSW_AWP: sprite = "d_awp"; break; default: break; } } user_icons[id] = sprite; draw_icon(id); } public draw_icon(id) { static iwpn, clip, ammo, icon_color[3]; iwpn = get_user_weapon(id, clip, ammo); if ((ammo == 0 && clip == 0)) icon_color = {255, 0, 0}; else if (ammo == 0 && iwpn != CSW_KNIFE) icon_color = {255, 160, 0}; else icon_color = {0, 160, 0}; message_begin(MSG_ONE, iconstatus, {0, 0, 0}, id); write_byte(1); // статус (0=скрий, 1=покажи, 2=флаш) write_string(user_icons[id]); write_byte(icon_color[0]); // червено write_byte(icon_color[1]); // зелено write_byte(icon_color[2]); // синьо message_end(); } public remove_weapon_icon(id) { message_begin(MSG_ONE, iconstatus, {0, 0, 0}, id); write_byte(0); write_string(user_icons[id]); message_end(); } public event_death() { new id = read_data(2); if (!is_user_bot(id)) remove_weapon_icon(id); } public check_icon_loc() { new value = get_pcvar_num(pcv_iloc); if (value == 1) iconstatus = get_user_msgid("StatusIcon"); else if (value == 2) iconstatus = get_user_msgid("Scenario"); else iconstatus = 0; return PLUGIN_CONTINUE; } Przeczytaj cały wpis
  11. This is a proof-of-concept implementation for a Real-Time Strategy (RTS) camera control setup with support for screen-space to world-space point-and-click selection. It is written in pure SourcePawn and only requires SourceMod running on a Team Fortress 2 server. Please note the cursor and other movement speeds and sensitivity settings have been hard-coded and should be edited and configured for your implementation. Users may also have specific preferences that depend on game settings and server latency. Custom bots used during testing and demonstration are not part of this release. Features Edge scrolling WASD-keys scrolling Drag-to-scroll (hold right mouse button and drag) Zooming (scroll with mouse wheel, see below for binds) Rotation (hold mouse wheel down and drag, can be used while scrolling for fly-through) Clip camera angles and movements to bounding box Left-click to select units (drag rectangle to select multiple) Right-click to apply an action to selected units Colored health bars drawn above selected unit entities that are visible through walls Demonstration Videos Commands Code: sm_rts [min_x min_y min_z max_x max_y max_z] - Enter and exit RTS mode sm_rts_zoom_in - Camera zoom in sm_rts_zoom_out - Camera zoom out sm_rts_aspect_ratio <ratio> - Set camera aspect ratio sm_rts_aspect_ratio <width> <height> - Set camera aspect ratio calculated with width and heightRecommended Binds Code: bind MWHEELUP sm_rts_zoom_in bind MWHEELDOWN sm_rts_zoom_outExample Test Map This project was developed and tested on jump_academy_classic_b inside the Market Gardening Arena (MGA) part of the map. Use the sm_rts command with the corresponding bounding box values as follows to start: Code: sm_rts 6680 -3750 -1035 10200 -300 785Dependencies SourceMod 1.12.0.7038 or newer SMLib Download via GitHub Repository:Source Wyświetl pełny artykuł
  12. This plugin is a synthesis of Doc Grenade Trails by Andi67 and sm_dods_runspeed by Darkranger to which I added my ideas for make mod. DESCRIPTION : This plugin is an improved Rocket mod. For fun, when the axes fire a rocket, the smoke from the rocket is red, for the allies green. With the rocket you run normally, with cut or spade you run 1.2 times faster. When you kill someone with the rocket, you win 10hp. When you kill with the cut or spade, you win 25hp. INSTALLATION : 1. Upload smx file in dod/addons/sourcemod/plugins/ 2. Change map. 3. change cvar dod_rock_n_speed_run : 1 to enable/ 0 to disable If you are root admin on your server, you can put this on your Day of Defeat:source Console : PHP Code: sm_rcon dod_rock_n_speed_run 1 or sm_rcon dod_rock_n_speed_run 0 Attached Files Get Plugin or Get Source (dod_rock_n_speed_run.sp - 4.9 KB) Wyświetl pełny artykuł
  13. Based from <eVa>Dog's Dog Bonus Round and dod sexy bonusround by Vintage https://dodsplugins.mtxserv.fr/viewt...c6901d21e58025 Plugin is modified by Micmacx based on the plugin : Admin Sounds 1.2.2 by Cadav0r : https://forums.alliedmods.net/showthread.php?p=785989 I used his way of handling precached sounds. DESCRIPTION : This plugin beacon the losing team and turns them into Harley Quinn. It makes the winners immortal, gives them more speed and transforms them into Freddy Krueger. BE CARREFULL : By default this plugin does not play sound, it is up to you to activate it in the configuration file. This plugin does not play the sound to people who do not download the sounds. I would like to point out that if you download the sounds and then deactivate the sound download, the plugin will not play the sound for you. INSTALLATION : 1. Download the zip file and upload everything to your server. 2. Change your map, like this plugin will create dod/cfg/dod_halloween_bonusround/dod_halloween_bonusround.cfg 2. SETTING : Edit your dod/cfg/server.cfg file and put these values ​​in it: PHP Code: dod_bonusround "1" dod_bonusroundtime "15" Edit dod/cfg/dod_halloween_bonusround/dod_halloween_bonusround.cfg if you want to use sound when a team win. PHP Code: // This file was auto-generated by SourceMod (v1.11.0.6502) // ConVars for plugin "dod_haloween_bonusround.smx" // Enabled/Disabled kicking players with DL-filter, 0 = off/1 = on // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" dod_halloween_bonusround_kicknodl "1" // 1 : Enable / 0 : Disable Plugin // - // Default: "0" // Minimum: "0.000000" // Maximum: "1.000000" dod_halloween_bonusround_sound_enable "0" // Folder and file name Name in folder sound // - // Default: "dod_halloween_bonusround/sound.mp3" dod_halloween_bonusround_sound_file "dod_halloween_bonusround/sound.mp3" Just to have fun at the end of the round. Attached Files Get Plugin or Get Source (dod_haloween_bonusround.sp - 10.7 KB) dod_haloween_bonusround_Compil_1.11.0.6502.zip (8.02 MB) Wyświetl pełny artykuł
  14. Chat Spam Punishment Description This plugin complements the anti chat flood feature that comes with Sourcemod. The idea behind this plugin is to stop people from... Spoiler Peter Brev: typing Peter Brev: lots of messages Peter Brev: in the game chat Peter Brev: rapidly Peter Brev: for no good reason, Peter Brev: annoying everyone Peter Brev: and potentially disrupting the game. You can choose to gag (with time, even if you do not use Sourcebans++!), kick or ban any player being naughty spammers. ConVars sm_chat_spam_punishment_version [Def. 1.0.0] - Plugin version sm_chat_spam_enable [Def. 1] - Enable/Disable plugin sm_chat_spam_punishment_treshold [Def. 8] - The maximum number of messages in a given time at which it will gag, kick or ban the player. sm_chat_spam_punishment_warning_enable [Def. 1] - Should the player see a warning before their impending doom. sm_chat_spam_punishment_warning [Def. 1] - How close to the threshold should it warn the player of an impending action. E.g. If the treshold is set to 8, then setting this cvar to 1 means that the warning will show one chat message before action is taken. sm_chat_spam_punishment_type [Def. 0] - Type of punishment to apply (0: gag, 1: kick, 2: ban). sm_chat_spam_punishment_gag_time [Def. 300] - How long to apply a gag for (time in seconds). [Use "sm_chat_spam_punishment_time_sc" if you have Sourcecomms]. sm_chat_spam_punishment_ban_time [Def. 5] - How long to apply a ban for (time in minutes). [Use "sm_chat_spam_punishment_time_sc" if you have Sourcecomms]. sm_chat_spam_punishment_timer [Def. 15] - The time at which the player's threshold will reset (time in seconds). If you use Sourcebans++: sm_chat_spam_punishment_time_sb [Def. 5] - How long to apply a gag or a ban (time in minutes). Note: sm_chat_spam_punishment_gag_time and sm_chat_spam_punishment_ban_time have no effect if Sourcebans++ is installed on your server. They are superceded by sm_chat_spam_punishment_time_sb. Note 2: Admins are immune. Additional information Plugin uses Updater by GoD-Tony. It is not required to have it for this plugin to run, but you will not have to manually update files. Known issues None that I know of. If you experience issues, let me know what happened and steps to reproduce if possible. Any screenshots/demos are welcome additions. To do Nothing. Attached Files Chat Spam Punishment.zip (14.3 KB) Wyświetl pełny artykuł
  15. Hello to all first sorry for my english i want help for this plugin when people are a spectator, the menu still shows them, I want to do it only Who are CT T to show them and not to a spectator /* * ___________ * * Simple Public VIP v1.0 * * Author: ALGHTRYER * e: [email protected] w: alghtryer.github.io * ___________ * * VIP Player ( flag t ) have several privileges, which will not give much advantage over other players. * You can adjust everything with cvar. * * Features: * - Free he, smoke and flash bomb. * - Kevlar and Helmet * - Defuse for CT * - Menu with free weapon ( ak47/m4a1 + deagle ). Menu will be remove after 15 ( cvar ) seconds. * - Only VIP can buy AWP. * - Show damage. * - Happy Hour. * * How set VIP? * - Put flag "t" on player STEAM ID, IP or NAME. * * Cvars : * // 0 = off / 1 = on * - spv_menu 1 = Show Menu * - spv_awp 1 = Only VIP can buy Awp * - spv_menuremove 15 = Remove Menu after seconds * - spv_he 1 = Give He * - spv_smoke 1 = Give Smoke * - spv_fb 1 = Give flash * - spv_fb2 1 = Give flash * - spv_armor 1 = Give Armor ( Kevlar and Helmet ) * - spv_def 1 = Give defuse fot ct player * - spv_damage 1 = Show damage * - spv_hh 1 = Happy Hour * - spv_infohud 1 = Show hud about happy hour * - spv_start 23 = When Start Happy Hour 2 = 2 am and 14 = 2 pm * - spv_end 9 = When End Happy Hour 2 = 2 am and 14 = 2 pm * - spv_roundsmenu 3 = Menu with free weapon will be show on third ( cvar ) round * * * Changelog: * - v1.0 [13. Apr 2020] : First release. * */ #include < amxmodx > #include < cstrike > #include < fun > #include < engine > #include < fakemeta > #include < hamsandwich > #define ADMIN_ACCESS ADMIN_CHAT new const // _________________________________________ PLUGIN [ ] = "Simple Public VIP", VERSION[ ] = "1.0", AUTHOR [ ] = "ALGHTRYER"; // _________________________________________ new bool:bHappyHour; new CvarMenu; new CvarAwp; new CvarMenuRemove; new CvarHe; new CvarSmoke; new CvarFb; new CvarFb2; new CvarArmor; new CvarDef; new CvarHappyHour; new CvarInfoHud; new CvarStart; new CvarEnd; new CvarDamage; new CvarRoundsMenu; new gRounds; new SyncInfoHud; new SyncDamage; enum /* Weapon types */ { Primary = 1 , Secondary , Knife , Grenades , C4 }; public plugin_init( ) { register_plugin ( PLUGIN, //: Simple Public VIP VERSION, //: 1.0 AUTHOR //: ALGHTRYER <alghtryer.github.io> ); register_cvar( "spv_version", VERSION, FCVAR_SERVER|FCVAR_UNLOGGED ); CvarMenu = register_cvar( "spv_menu", "1" ); CvarAwp = register_cvar( "spv_awp", "1" ); CvarMenuRemove = register_cvar( "spv_menuremove", "15" ); CvarHe = register_cvar( "spv_he", "1" ); CvarSmoke = register_cvar( "spv_smoke", "1" ); CvarFb = register_cvar( "spv_fb", "1" ); CvarFb2 = register_cvar( "spv_fb2", "1" ); CvarArmor = register_cvar( "spv_armor", "1" ); CvarDef = register_cvar( "spv_def", "1" ); CvarDamage = register_cvar( "spv_damage", "1" ); CvarHappyHour = register_cvar( "spv_hh", "1" ); CvarInfoHud = register_cvar( "spv_infohud", "1" ); CvarStart = register_cvar( "spv_start", "23" ); CvarEnd = register_cvar( "spv_end", "9" ); CvarRoundsMenu = register_cvar( "spv_roundsmenu", "3" ); SyncInfoHud = CreateHudSyncObj( ); SyncDamage = CreateHudSyncObj( ); register_logevent( "OnRoundStart", 2, "1=Round_Start" ); register_event("HLTV", "CheckHappyHour", "a", "1=0", "2=0") register_event( "TextMsg", "RestartGame", "a", "2&#Game_C","2&#Game_w" ); register_event( "Damage", "Event_Damage", "b", "2>0", "3=0" ); register_clcmd( "awp", "BuyAwp" ); register_clcmd( "magnum" ,"BuyAwp" ); } public plugin_cfg( ) { if( get_pcvar_num( CvarInfoHud ) ) set_task( 1.0, "InfoHud", _, _, _, "b" ); } public InfoHud( ) { set_hudmessage( 0, 212, 255, 0.57, 0.05, _, _, 1.0, _, _, 1 ); ShowSyncHudMsg( 0, SyncInfoHud, "Free Vip from %dh to %dh", get_pcvar_num( CvarStart ), get_pcvar_num( CvarEnd ) ); } public OnRoundStart( ) { gRounds ++ new iPlayers[ 32 ] , iNum, id; get_players( iPlayers , iNum ); for ( new i = 0 ; i < iNum ; i++ ) { id = iPlayers[ i ]; if( get_user_flags(id) & ADMIN_USER || bHappyHour ) { if( get_pcvar_num( CvarMenu ) && gRounds >= get_pcvar_num( CvarRoundsMenu ) ) { CreateWeaponMenu( id ); if( task_exists( id ) ) { remove_task( id ); } set_task( get_pcvar_float( CvarMenuRemove ), "RemoveMenu", id ); } if( get_pcvar_num( CvarHe ) ) give_item( id, "weapon_hegrenade" ); if( get_pcvar_num( CvarSmoke ) ) give_item( id, "weapon_smokegrenade" ); if( get_pcvar_num( CvarFb ) ) give_item( id, "weapon_flashbang" ); if( get_pcvar_num( CvarFb2 ) ) give_item( id, "weapon_flashbang" ); if( get_pcvar_num( CvarArmor ) ) cs_set_user_armor( id, 100, CS_ARMOR_VESTHELM ); if ( get_pcvar_num( CvarDef ) && cs_get_user_team(id) == CS_TEAM_CT ) cs_set_user_defuse( id, 1 ); } } } public CreateWeaponMenu( id ) { new menu = menu_create( "\rWeapon Menu:", "weapon_menu" ); menu_additem( menu, "\wAK47 \y+ \wDeagle", "", 0 ); menu_additem( menu, "\wM4A1 \y+ \wDeagle", "", 0 ); menu_additem( menu, "\wAWP \y+ \wDeagle \y+", "", ADMIN_ACCESS ) menu_setprop( menu, MPROP_EXIT, MEXIT_ALL ); menu_display( id, menu, 0 ); } public weapon_menu( id, menu, item ) { switch( item ) { case 0: { if( !user_has_weapon( id, CSW_AK47)) { StripWeapons( id, Primary ); give_item( id, "weapon_ak47" ); } else cs_set_weapon_ammo( find_ent_by_owner( -1, "weapon_ak47", id ), 30 ); if( !user_has_weapon( id, CSW_DEAGLE)) { StripWeapons( id, Secondary ); give_item( id, "weapon_deagle" ); } else cs_set_weapon_ammo( find_ent_by_owner( -1, "weapon_deagle", id ), 7 ); cs_set_user_bpammo( id, CSW_AK47, 90 ); cs_set_user_bpammo( id, CSW_DEAGLE, 35 ); } case 1: { if( !user_has_weapon( id, CSW_M4A1)) { StripWeapons( id, Primary ); give_item( id, "weapon_m4a1" ); } else cs_set_weapon_ammo( find_ent_by_owner( -1, "weapon_m4a1", id ), 30 ); if( !user_has_weapon( id, CSW_DEAGLE)) { StripWeapons( id, Secondary ); give_item( id, "weapon_deagle" ); } else cs_set_weapon_ammo( find_ent_by_owner( -1, "weapon_deagle", id ), 7 ); cs_set_user_bpammo( id, CSW_M4A1, 90 ); cs_set_user_bpammo( id, CSW_DEAGLE, 35 ); } case 2: { if( !user_has_weapon( id, CSW_AWP)) { StripWeapons( id, Primary ); give_item( id, "weapon_awp" ); } else cs_set_weapon_ammo( find_ent_by_owner( -1, "weapon_awp", id ), 10 ); if( !user_has_weapon( id, CSW_DEAGLE)) { StripWeapons( id, Secondary ); give_item( id, "weapon_deagle" ); } else cs_set_weapon_ammo( find_ent_by_owner( -1, "weapon_deagle", id ), 7 ); cs_set_user_bpammo( id, CSW_AWP, 30 ); cs_set_user_bpammo( id, CSW_DEAGLE, 35 ); } case MENU_EXIT: { client_print( id, print_chat, "You exited the menu..." ); } } menu_destroy( menu ); return PLUGIN_HANDLED; } public RemoveMenu( id ) { show_menu( id, 0, "^n", 1 ); } public BuyAwp( id ) { if( get_pcvar_num( CvarAwp ) ) { if( get_user_flags(id) & ADMIN_LEVEL_H || bHappyHour ) return PLUGIN_CONTINUE; client_print( id, print_center, "#Cstrike_TitlesTXT_Cannot_Buy_This" ); return PLUGIN_HANDLED; } return PLUGIN_CONTINUE; } public Event_Damage( iVictim ) { if( get_pcvar_num( CvarDamage) ) { new id = get_user_attacker( iVictim ); if( is_user_connected( id ) && get_user_flags(id) & ADMIN_LEVEL_H ) { set_hudmessage( 0, 100, 200, -1.0, 0.55, 2, 0.1, 4.0, 0.02, 0.02, -1 ); ShowSyncHudMsg( id, SyncDamage, "%d^n", read_data( 2 ) ); } } } public CheckHappyHour( ) { if( get_pcvar_num( CvarHappyHour ) ) { static hour_str[ 3 ], get_hour, get_start, get_end; get_time( "%H", hour_str, 2 ); get_hour = str_to_num( hour_str ); get_start = get_pcvar_num( CvarStart ); get_end = get_pcvar_num( CvarEnd ); if( get_start < get_end ? ( get_start <= get_hour && get_hour < get_end ) : ( get_start <= get_hour || get_hour < get_end ) ) bHappyHour = true; else bHappyHour = false; } } public RestartGame( ) { gRounds = 0; } public client_disconnect( id ) { if( task_exists( id ) ) { remove_task( id ); } } // *** // Start "stripsweapons.inc" <https://forums.alliedmods.net/showpost.php?p=1585138&postcount=9> stock StripWeapons(id, Type, bool: bSwitchIfActive = true) { new iReturn; if(is_user_alive(id)) { new iEntity, iWeapon; while((iWeapon = GetWeaponFromSlot(id, Type, iEntity)) > 0) iReturn = ham_strip_user_weapon(id, iWeapon, Type, bSwitchIfActive); } return iReturn; } stock GetWeaponFromSlot( id , iSlot , &iEntity ) { if ( !( 1 <= iSlot <= 5 ) ) return 0; iEntity = 0; const m_rgpPlayerItems_Slot0 = 367; const m_iId = 43; const XO_WEAPONS = 4; const XO_PLAYER = 5; iEntity = get_pdata_cbase( id , m_rgpPlayerItems_Slot0 + iSlot , XO_PLAYER ); return ( iEntity > 0 ) ? get_pdata_int( iEntity , m_iId , XO_WEAPONS ) : 0; } stock ham_strip_user_weapon(id, iCswId, iSlot = 0, bool:bSwitchIfActive = true) { new iWeapon if( !iSlot ) { static const iWeaponsSlots[] = { -1, 2, //CSW_P228 -1, 1, //CSW_SCOUT 4, //CSW_HEGRENADE 1, //CSW_XM1014 5, //CSW_C4 1, //CSW_MAC10 1, //CSW_AUG 4, //CSW_SMOKEGRENADE 2, //CSW_ELITE 2, //CSW_FIVESEVEN 1, //CSW_UMP45 1, //CSW_SG550 1, //CSW_GALIL 1, //CSW_FAMAS 2, //CSW_USP 2, //CSW_GLOCK18 1, //CSW_AWP 1, //CSW_MP5NAVY 1, //CSW_M249 1, //CSW_M3 1, //CSW_M4A1 1, //CSW_TMP 1, //CSW_G3SG1 4, //CSW_FLASHBANG 2, //CSW_DEAGLE 1, //CSW_SG552 1, //CSW_AK47 3, //CSW_KNIFE 1 //CSW_P90 } iSlot = iWeaponsSlots[iCswId] } const XTRA_OFS_PLAYER = 5 const m_rgpPlayerItems_Slot0 = 367 iWeapon = get_pdata_cbase(id, m_rgpPlayerItems_Slot0 + iSlot, XTRA_OFS_PLAYER) const XTRA_OFS_WEAPON = 4 const m_pNext = 42 const m_iId = 43 while( iWeapon > 0 ) { if( get_pdata_int(iWeapon, m_iId, XTRA_OFS_WEAPON) == iCswId ) { break } iWeapon = get_pdata_cbase(iWeapon, m_pNext, XTRA_OFS_WEAPON) } if( iWeapon > 0 ) { const m_pActiveItem = 373 if( bSwitchIfActive && get_pdata_cbase(id, m_pActiveItem, XTRA_OFS_PLAYER) == iWeapon ) { ExecuteHamB(Ham_Weapon_RetireWeapon, iWeapon) } if( ExecuteHamB(Ham_RemovePlayerItem, id, iWeapon) ) { user_has_weapon(id, iCswId, 0) ExecuteHamB(Ham_Item_Kill, iWeapon) return 1 } } return 0 } // End "stripsweapons.inc" <https://forums.alliedmods.net/showpost.php?p=1585138&postcount=9> // *** /* MADE BY ALGHTRYER. */ Przeczytaj cały wpis
  16. I have uploaded new weapon skins. This also works with the Weapon replacement plugin... but when I go to the server 1 weapon takes e.g. 1 minute. I tried to make FastDL with sv_download url. Here is my server.cfg file. // Use this file to configure your DEDICATED server. // This config file is executed on server start. // disable autoaim sv_aim 0 // disable clients' ability to pause the server pausable 0 // default server name. Change to "Bob's Server", etc. hostname "WWW.ASSAULT-STARS.DE | 24/7 Assault Only! WE NEED ADMINS" // 20 minute timelimit ;mp_timelimit 0 sv_cheats 0 // load ban files exec listip.cfg exec banned.cfg //map start mp_startmoney 16000 mp_freezetime 0 mp_roundtime 2.0 mp_buytime .20 mp_maxrounds 24 mp_match_end_restart 1 mp_match_end_changelevel 0 sv_region 255 sv_lan 0 sv_rsdisplay 1 sv_rsadvertise 1 ad_react_all 0 mp_autokick 0 mapchangcfgfile server.cfg sv_maxrate 33000 sv_minrate 20000 sv_maxupdaterate 100 sv_minupdaterate 60 sv_maxspeed 320 hv_mode 1 sv_downloadurl "https://assaultstars.000webhostapp.com/cstrike/" sv_allowupload 1 sv_allowdownload 1 // Gravity // 800 is normal // 200 is Matrix style sv_gravity 800 No matter what I do it does not work. The folder structure in the FTP and game server is the same. e.g. .. cstrike/models/v_ak47_new.mdl and ftp the same. As I said, the gun does load/change, but not quickly. I hope anyone can help me. Przeczytaj cały wpis
  17. Zombie Escape An open source version of Zombie Escape for Team Fortress 2 Description: A gamemode where survivors have to escape a map against a horde of zombies. These zombies can't be killed and can only be knocked back. Modified weapons can be given to both survivors and zombies. The Story: Zombie Escape existed in other source games before having a TF2 version. The gamemode itself wasn't open source and only on certain servers. Of course server wars began where it started the 64-player slot trend which forced it's way into live TF2! I made this version of Zombie Escape to allow a more public version and allow server owners to host as well. And if your aware of the false DMCA attacks against me before, this is why. Hopefully finally releasing this will stop the drama with monopolies going a bit too far to stay as a sole server. Installation: Latest Version on GitHub Required: SourceMod 1.12.X TF2Attributes 1.7.X Recommended: File Network TFEconData TFOnTakeDamage Supported: SteamWorks SM-TFCustAttr SM-TFCustomWeaponsX Credits: TF2: Zombie Riot Super Zombie Fortress With it's new nature expect the need to balance using the ZombieEscape.cfg and the weapons.cfg and it's lack of public Zombie Escape maps. Attached Files New-Install-Package-1.0.28.zip (19.85 MB) Source-Code-1.0.28.zip (155.1 KB) Wyświetl pełny artykuł
  18. Fixes random spawners always creating the same loot in NMRiH 1.13.4 Full info: https://github.com/dysphie/nmrih-ran...ner-fix#readme Download: https://github.com/dysphie/nmrih-ran...r-fix/releases Source code: https://github.com/dysphie/nmrih-random-spawner-fix Wyświetl pełny artykuł
  19. Hi, There are a lot of sound plugins but I haven't found any that play sounds randomly to add a certain atmosphere in your server, in my case it was for Halloween that I created this script. For copyright I will not put any sound with the plugin, but I will explain to you how to modify downloaded sounds, then it will be up to you to take your responsibilities regarding copyright, in my case I used royalty-free sound databases, but when in doubt... DESCRIPTION : Plugin play automaticaly random sound every 40 seconds for make a certain atmosphere in your server. This plugin uploads sounds automatically to players. It plays sounds only to players who download them, which avoids having players tell you about red lines in their Day of Defeat source console. INSTALLATION : 1. Prepare 25 sounds using these file names: son1.mp3 son2.mp3 son3.mp3 . . . son24.mp3 son25.mp3 son26.mp3 Sorry but i make this script in french, the translation for "son" is "sound". 2. Upload sound files in sound/yourfolder. 3. Upload plugin and change map, it will create cfg/halloween_sounds/halloween_sounds.cfg 4. Setting your folder in halloween_sounds.cfg // Folder Name in folder sound // - // Default: "halloween_mx" halloween_sounds_folder "halloween_mx" 5. Change map, it must work. In halloween_sounds.cfg you can enable/disable the plugin, change the name of the sounds folder, change the time in seconds after playing a sound that another one will be played, change the volume of sounds. PREPARE SOUNDS : Convert valid MP3 file for your DoD:S servers using Audacity, Audacity is free, open source, cross-platform software for recording and editing sounds. With this software you can convert all sound files to MP3. 1. Install Audacity on your computer. 2. Create a sound or download it. 3. Open sound in audacity. 4. On the left of the graph it should be written: Stereo, 44100Hz 32bits floating.If it is not 44100, you must select it at the bottom left in the “Project rate in HZ”, then in the Track menu–>Resample–>Validate. 5. Then in the menu: File–>Export–>Export to MP3. 6. A window opens and you must setting: bit rate mode-->medium, Quality -->128kbps, channel mode -->stereo, and save the file. Attached Files Get Plugin or Get Source (halloween_sound.sp - 4.1 KB) Wyświetl pełny artykuł
  20. Hello, I want to convert this file to sma. Can someone help me? Attached Files SQLite.amxx (7.1 KB) Przeczytaj cały wpis
  21. Admins, trash this if this is not allowed, thanks. Hi , I'm having problems decompiling an plugin, is not private plug, but i'm sure the plug have an backdoor.. Someone can help ? https://forums.alliedmods.net/attach...1&d=1696275926 Attached Files ZombieOutstanding.amxx (175.7 KB) Przeczytaj cały wpis
  22. Math Quiz for Zombie Plague Recently i have found great plugin which displays a math problem on every 60 seconds in chat, and for every correct answer, server gives player significant amount of armor and health. CREDITS: Link to the original plugin: https://forums.alliedmods.net/showthread.php?p=380374 Made by: Silencer123 But i decided it is a nice idea to rebrand a plugin a bit so i implemented it for Zombie Plague (v4.3) This plugin has not been tested yet for the Zombie Plague 5.0 EDITED VERSION: On every 5 minutes you will get a math problem you need to solve. You will be rewarded with Health and Ammo packs. (you can change it with cvars) CVARS: zp_quiz_level 2 // Difficulty (It has 9 difficulties, each difficulty has new number added and new operation added) zp_quiz_tries 2 // Number of tries for every problem zp_quiz_frequency 500.0 // On what period will new math problem appear? (in seconds / default: 500) zp_quiz_award_hp 50 // How many Health will be added with correct answer? (default: 50) zp_quiz_award_ap 35 // How many Ammo Packs will be added with correct answer? (default: 35) ADDED: - Fixed English grammar - Added chat color - Added HUD messages when answer is wrong/correct or when time runs out - Plugin optimised COMMENT: Again, original plugin with Health and Armor is by Silencer123 I hope no rules were broken while making and editing it. Enjoy! Attached Files Get Plugin or Get Source (zp_addon_math_quiz.sma - 6.9 KB) Przeczytaj cały wpis
  23. Original author : FeuerSturm Original post : https://forums.alliedmods.net/showthread.php?t=76165 Source Files : http://dodsplugins.mtxserv.fr/viewtopic.php?f=4&t=2 Hi, It work like original post. I simply updated the plugin with the new programming forms. Now plugin is version 1.22. Zip file is compiled with Sourcemod 1.11.0-6502. Fix 2 bugs: 1: malfunction bug with bots (rcbot2 or other), plugin make errors in the sourcemod logs. 2: Bug when you select a weapon that is not authorized, you were in the team and remained displayed as dead, now it work fine. Improvement : When you tk a bot (rcbot2 or other), it is not counted as a tk unless it is in the spawn. Autobalance work with bots, first when 1 human is dead it balances humans, and when a bot is dead it balances bot. Attached Files dod_teammanager_source_v1.22_Compil_1.11.0.6502.zip (210.7 KB) Get Plugin or Get Source (dod_teammanager_source.sp - 25.9 KB) Get Plugin or Get Source (addon_dodtms_afkmanager.sp - 13.0 KB) Get Plugin or Get Source (addon_dodtms_antivcmds.sp - 4.8 KB) Get Plugin or Get Source (addon_dodtms_autobalance.sp - 7.7 KB) Get Plugin or Get Source (addon_dodtms_clantagprotect.sp - 9.2 KB) Get Plugin or Get Source (addon_dodtms_classrest.sp - 13.8 KB) Get Plugin or Get Source (addon_dodtms_highpingkicker.sp - 5.8 KB) Get Plugin or Get Source (addon_dodtms_playerteammenu.sp - 29.0 KB) Get Plugin or Get Source (addon_dodtms_roundendevents.sp - 7.8 KB) Wyświetl pełny artykuł
  24. Description 1.Allow survivors automatically recover their real(main) health. based on [L4D2] Automatic Healing(Health Regeneration) Cvars PHP Code: // how many health heal once // - // Default: "1" // Minimum: "1.000000" automatic_healingr_health "1" // 1 = enable, 0 = disable. interrupt healing on hurt? // - // Default: "1" automatic_healingr_interrupt_on_hurt "1" // max health of healing // - // Default: "30" // Minimum: "2.000000" automatic_healingr_max "30" // repeat interval after healing start // - // Default: "1.0" // Minimum: "0.000000" automatic_healingr_repeat_interval "1.0" // 0 = disable, 1 = replace health buffer when healing // - // Default: "0" automatic_healingr_replace_health_buffer "1" // how long time need to wait after the interruption to start healing // - // Default: "5.0" // Minimum: "0.000000" automatic_healingr_wait_time "5.0" Natives(for developers) Spoiler PHP Code: /** * @brief restart someone's healing * * @param client client index * * @return true if actually restart the healing, false if needn't. * * @error invalid client index, or client not in game, or client not an alive and none-incapacitated survivor. */ native bool AutomaticHealingR_WaitToHeal(int client); Change log Spoiler Code: 1.1 (2023-10-01: init public release. Attached Files automatic_healingr.inc (802 Bytes) Get Plugin or Get Source (automatic_healingr.sp - 7.9 KB) Wyświetl pełny artykuł
  25. I mean Is there any plugin or way to have a log file reporting the results of which plugin creates too many entities leading to the no free editc error? thank Przeczytaj cały wpis
×
×
  • Dodaj nową pozycję...