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

    28215
  • Dołączył

  • Ostatnia wizyta

    nigdy
  • Wygrane w rankingu

    11

Treść opublikowana przez MYGO.pl

  1. Hello guys! I would like to add bots to this plugin PHP Code: #include <amxmodx> #include <amxmisc> #include <hamsandwich> #include <cstrike> #include <fun> #define PLUGIN "Respawn" #define VERSION "1.0" #define AUTHOR "NapoleoN#" new pRespawnEnabled, bool:FirstSpawn[33] public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) RegisterHam(Ham_Killed, "player", "PostPlayerKilled", 1) pRespawnEnabled = register_cvar("amx_respawn","1") register_event("TeamInfo" , "TeamInfo" , "a") server_cmd("mp_buytime 0") } public client_connect(id) { FirstSpawn[id] = true } public PostPlayerKilled(iVictim, iAttacker, shouldgib) { if(get_pcvar_num(pRespawnEnabled)) { set_task(2.0, "RespawnVictim", iVictim) } } public RespawnVictim(id) { if(get_pcvar_num(pRespawnEnabled) && !is_user_alive(id)) { ExecuteHamB(Ham_CS_RoundRespawn, id) } } public TeamInfo() { new id , szTeam[ 2 ]; id = read_data( 1 ) read_data( 2 , szTeam , charsmax( szTeam ) ) switch( szTeam[ 0 ] ) { case 'T': { if(FirstSpawn[id]) { set_task(2.0, "RespawnVictim", id) FirstSpawn[id] = false } } case 'C': { if(FirstSpawn[id]) { set_task(2.0, "RespawnVictim", id) FirstSpawn[id] = false } } } } Instant respawn plugin, but doesn't work with bots. Przeczytaj cały wpis
  2. Hello, is it possible to make one vip plugin only for certain maps with ADMIN_RESERVATION flag it's about these cards de_snipe_it5 cs_houses cs_deathmatch cs_assault each round to display the menu with which to choose a weapon these are the weapons AK47 + Deagle + 1HE, 2FB M4A1 + Deagle + 1HE, 2FB mAWP + Deagle + 1HE, 2FB FAMAS + Deagle + 1HE, 2FB also + armor, helmet and helmet and for these cards fy_snow aim_ak-colt $1000$ aim_aztec aim_bono aim_headshot $2000$ aim_sk_ak_m4 awp_india not show the menu every round because there is no point in getting vip weapons with the menu because they are on the ground every spawn only get armour, helmet and helmet Przeczytaj cały wpis
  3. Required plugin: ADMIN banner Description (meaning what he does exactly): Give the admin a band (which will be on the hand, like the football team captains) on which to write ADMIN Did you search for the plugin? (if yes, specify how): yes Does the server enforce strict HLDS/REHLDS conditions?: yes Does the server use ReAPI?: yes Does it need special mode?: no AMXX Server Version: 1.8.3 Something like this plugin: https://forums.alliedmods.net/showth...ght=hat&page=6 I would have put this one, but I see in the discussions that it is not exactly what is needed. And I have another model (there are some horns with a devil's tail), how could I put these to a certain flag "abcdefghijklmnopq"? Przeczytaj cały wpis
  4. Hi I had a general request really, not sure if it'd even be possible through amx but I was watching a video: https://www.youtube.com/watch?v=Ccl1Turo0b0 Around the 1:54 mark a player kills another player and even the name ID is red. Any idea how this would be possible in Sven Co-op? If so and if a plugin can be made do any exist I have looked around and haven't had much luck. I assume they've just changed the classification of the player but I haven't a clue how someone would do that. Thanks in advance. Przeczytaj cały wpis
  5. This plugin adds a cvar z_charger_incap_mult that can increase the damage the Charger does to a survivor when it's incapped. I always found it funny how the Charger could keep pummelling a survivor for a long time before being able to kill. REQUIRES left4dhooks Attached Files chargerincapextra.smx (5.3 KB) Get Plugin or Get Source (chargerincapextra.sp - 1.3 KB) Wyświetl pełny artykuł
  6. I have a dedicated CS CZ server and wanted a plugin similar to the one from this link. https://forums.alliedmods.net/showthread.php?p=651943 I had this one, but since upgrading to AMX Mod X 1.9, it no longer works. (Get an error that says it cannot find geoip_country file, check mod.ini) I could not locate this file there or anywhere from my old amx mod x folder. I don't mind fixing this with help, but is there a similar plugin I can use. Thanks for any help! Przeczytaj cały wpis
  7. in the plugin below, I want players to prohibit automatically placing lasers on maps at points near spawning zones and areas near teleportation points. when a laser is placed near these areas, a warning message should pass and the laser should be deleted.Thank you in advance Attached Files Get Plugin or Get Source (zp_lasermine_29.sma - 38.2 KB) Przeczytaj cały wpis
  8. String Encryptor API - v0.0.1, published at : 12/01/2024 Description A simple tool to encrypt your string data. This allows you to encrypt by using Caeser Cipher, X0R and Fibonacci. How to use it PHP Code: enum { Caeser_Cipher, X0R, Fibonacci } /** * Encrypt a String * * @param iMethod Caeser_Cipher / X0R / Fibonacci * @param szInput Original String * @param szOutput Output (Encrypted) * @param iMaxLen Output Max Lenght * @param iKey Used for X0R & Caeser Cipher Methods */ native str_encrypt(iMethod, const szInput[], szOutput[], iMaxLen, iKey = 0) /** * Encrypt a String * * @param iMethod Caeser_Cipher / X0R / Fibonacci * @param szInput Encrypted String * @param szOutput Output (Decrypted String) * @param iMaxLen Output Max Lenght * @param iKey Used for X0R & Caeser Cipher Methods */ native str_decrypt(iMethod, const szInput[], szOutput[], iMaxLen, iKey = 0) The important note here is the iKey.Fibonacci does not require a key. On Caeser Cipher you must use a key. I would recommend a value between 2 and 10. On X0R method you should also use a key, you can find bellow some key examples. X0R Example Keys0x42 0x7F 0xAA 0xF0 0x88 0xC5 0x3E 0xD7 Attached Files Get Plugin or Get Source (encryptor_api.sma - 1.9 KB) encryptor.inc (798 Bytes) Przeczytaj cały wpis
  9. Related Plugins:[L4D2] Melee Range [L4D2] Melee Weapon Spawner [L4D2] Throwable Melee Weapons [L4D & L4D2] Incapped Shove [L4D & L4D2] Shove Handler [L4D1] Shove Penalty Unlocker About:Melee weapons will now share the Shove penalty system. Both affect each other and prevent melee or shove attacks when on the penalty cooldown. Optional data config allows you to add additional delay time to specific melee weapons. Thanks:TBK Duy - For the request. Forgetest - For feedback. Cvars: Saved to l4d2_melee_fatigue.cfg in your servers \cfg\sourcemod\ folder. PHP Code: // 0=Plugin off, 1=Plugin on. l4d2_melee_fatigue_allow "1" // Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all). l4d2_melee_fatigue_modes "" // Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none). l4d2_melee_fatigue_modes_off "" // Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together. l4d2_melee_fatigue_modes_tog "0" // Melee Weapon Fatigue plugin version. l4d2_melee_fatigue_version Changes: Code: 1.0 (11-Jan-2024) - Initial release. Requirements:Left 4 DHooks Direct plugin. Installation:DO NOT click 'Get Plugin' or it will fail to compile because this plugin requires Left4DHooks!Download the .smx file and put into your servers \addons\sourcemod\plugins folder. Download the .txt file and put into your servers \addons\sourcemod\gamedata folder. Optionally download the .cfg file and put into your servers \addons\sourcemod\data folder. Attached Files Get Plugin or Get Source (l4d2_melee_fatigue.sp - 11.7 KB) l4d2_melee_fatigue.smx (9.1 KB) l4d2_melee_fatigue.txt (1.5 KB) l4d2_melee_fatigue.cfg (691 Bytes) Wyświetl pełny artykuł
  10. There are a few handy plugins I've found in different forums. Some of them working only partially, some of them require a few tweaks mostly related to their color. I'm not a coder by any means, so would like to ask for help here. Crossbow Beam Laser: Add different beam colors to crossbow correspondingly to their team color: red/blue/green/yellow (currently it's just red). Clean up CS code. RPG Beam Color: Laser dot colors are not working in this plugin. Also if it's possible to optimize this plugin to use index recolors of standard laserdot.spr instead of new resources: laserspot_red.spr / laserspot_red.spr. Tripmine colors: to remove lasermine glow (it makes it too visible) and adjust brightness of red beam (currently it's too visible). If possible to add green/yellow beams for corresponding teams as well. Team Spawn Request: If it's possible to make each team to spawn in corresponding spawn points (in order to use cs/tfc maps). And lock skin's color to team color (currently if you're on "helmet" team, it's going to use just random colors instead of a team color, which makes it harder to distinct) Links to plugin's original topics: https://aghl.ru/forum/viewtopic.php?f=19&t=550 https://amx-x.ru/viewtopic.php?f=8&t=39381&hilit=hl.inc https://aghl.ru/forum/viewtopic.php?f=19&t=2148 Attached Files Get Plugin or Get Source (crossbowbeam.sma - 6.1 KB) Get Plugin or Get Source (RPGBeamColor.sma - 2.7 KB) Get Plugin or Get Source (Tripmine_Teams_Color.sma - 3.1 KB) Przeczytaj cały wpis
  11. MYGO.pl

    RSSINFO

    I want a plugin that shows at the beginning of each round in the hud: round: / mapa: / players: / timeleft: . And when I restart live, the rounds should not continue, to start over. I looked for the plugin but I didn't find it exactly as I said above. I tried to modify them but they didn't work, I don't know how. I hope you give me this plugin =. Thank you Przeczytaj cały wpis
  12. Hello everyone ! Folks, my friend has a server where some players are changing their models to custom ones, such as having ct models with red heads,making them easier to spot and kill. I believe this could be considered a hack, even though valve allows it. Does anyone know of a way to block this ? I've been looking into some amxmodx commands like md5_file, which verifies the file's checksum, but I'm not sure if it's reliable. Does anyone have any ideas? Thanks in advance !! Przeczytaj cały wpis
  13. limited grenade I don’t want the slap damage effect Thanks Attached Files Get Plugin or Get Source (grenade_control_V2-1.sma - 8.8 KB) Przeczytaj cały wpis
  14. MYGO.pl

    RSSmysql_saving

    Hello! Can someone add a mysql save to this? Attached Files Get Plugin or Get Source (weapon_system.sma - 15.1 KB) Przeczytaj cały wpis
  15. MYGO.pl

    RSSL4D2

    tell me 2 plugins please:1. YOU ARE SUFFOCATED BY THE SMOKER'S CLOUD, that is, when you kill a smoker you start to suffocate and take damage. 2. When survivors appear in the shelter, a red circle appears near them that flashes and after a while weapons, first-aid kits, and so on appear in this circle. Przeczytaj cały wpis
  16. MYGO.pl

    RSSL4D2

    Help me find the plugin: YOU ARE SUFFOCATING FROM THE SMOKER's CLOUD, that is, when you kill a smoker, you start suffocating from his cloud. and the plugin:When survivors appear, a red circle appears near them, which flashes and after a while weapons, first-aid kits and so on appear in it. Przeczytaj cały wpis
  17. MYGO.pl

    RSSL4D2

    help me find the plugin: YOU ARE SUFFOCATING FROM A SMOKER'S CLOUD. and the plugin:when the survivors appear, a red circle appears near them that flashes and after a while weapons, first aid kits, and so on appear in it. Przeczytaj cały wpis
  18. [Anti-Cheat] No Flash - v0.0.1, published at : 21/01/2024 Description This is a very simple plugin that will allow you to catch players that are running No Flash cheats. Doing a little research i found out that most of cheats offer this feature so you can catch a lot of cheaters by filtering this feature. How to useamx_flashbang <name or #userid> to Enable/Disable a fake & permanent Flashbang on death/spawn players get this feature removed you can also use this feature to punish players that are trolling Short Video Attached Files Get Plugin or Get Source (ac_noflashbang.sma - 2.6 KB) Przeczytaj cały wpis
  19. MYGO.pl

    RSSL4D2

    hello! help me find the "evil witch" plugin. When you disturb a witch, she screams loudly and the red screen shakes, and she has a witch fire, please help me. Attached Thumbnails Przeczytaj cały wpis
  20. Hello all, i run HNS server and i have a little problem. I have it since 2015, but only problem now when i add the plugins like Antifrag 1.0 https://forums.alliedmods.net/showthread.php?t=301434 i get a problem in putty Load error 17 (invalid file format or version) (plugin "hns_antifrag.amxx") file format is all good, .amxx i tried all different versions 1.0 1.1, and cant find any other plugin like this if anyone could help would be much appreciated. ALso same problem with plugin ownage Thanks Answer here or dc .royality. Przeczytaj cały wpis
  21. Hello. I am looking for a plugin that will work on the principle that everyone who writes something in the chat or on say_team will play a sound on the server. PS, you can exclude commands with a slash, e.g. /roulette Przeczytaj cały wpis
  22. CS/ CZ: Conditioned Grenade Radio v1.0 GameTracker/ servers using CGR v1.0 PHP Code: cgr_enabled 1 /// Sets whether or not this plugin is enabled. cgr_spaces 0 /// A value of 0 means the default '(RADIO): Fire' and a value of 1 means '(RADIO) : Fire'. cgr_dead 1 /// Sets whether or not the grenade radio phrases will be displayed to the dead players as well. cgr_reliable 0 /// Sets whether or not the replacement grenade radio phrases will be delivered as reliable. cgr_random 1 /// Sets whether or not to use random grenade radio phrases when the players are throwing grenades. cgr_custom 0 /// Sets whether or not only the grenade name in the entire grenade radio phrase should be colored. cgr_alive 32 /// Only display grenade radio phrases to the team if at most this number of players are alive in it. cgr_append 0 /// Sets whether or not to only append a colored GRENADE, FLASH or SMOKE string after the original game grenade radio phrase. cgr_name 1 /// Sets the color of the player name in grenade radio phrases. 1 for normal color, 3 for grenade color (thrower's team color if smoke) and 4 for green. cgr_radio 1 /// Sets the color of the RADIO string in grenade radio phrases. 1 for normal color, 3 for grenade color (thrower's team color if smoke) and 4 for green. cgr_dots 1 /// Sets the color of the dots symbol (':' symbol) in grenade radio phrases. 1 for normal color, 3 for grenade color (thrower's team color if smoke) and 4 for green. cgr_parentheses 1 /// Sets the color of the parentheses in grenade radio phrases. 1 for normal color, 3 for grenade color (thrower's team color if smoke) and 4 for green. cgr_at 1 /// Sets the color of the at symbol ('@' symbol) in grenade radio phrases which contain map locations. 1 for normal color, 3 for grenade color (thrower's team color if smoke) and 4 for green. cgr_location 4 /// Sets the color of the actual map location in grenade radio phrases which contain map locations. 1 for normal color, 3 for grenade color (thrower's team color if smoke) and 4 for green. cgr_dots_enabled 1 /// Sets whether or not to enable the default dots in grenade radio phrases (':' symbol). cgr_name_location 4 /// Sets the color of the player name in grenade radio phrases which contain map locations. 1 for normal color, 3 for grenade color (thrower's team color if smoke) and 4 for green. cgr_radio_location 1 /// Sets the color of the RADIO string in grenade radio phrases which contain map locations. 1 for normal color, 3 for grenade color (thrower's team color if smoke) and 4 for green. cgr_parentheses_location 1 /// Sets the color of the parentheses in grenade radio phrases which contain map locations. 1 for normal color, 3 for grenade color (thrower's team color if smoke) and 4 for green. cgr_dead_audio 1 /// Sets whether or not the grenade radio voices will be played to the dead players as well. cgr_alive_audio 32 /// Only play grenade radio voices to the team if at most this number of players are alive in it. Code: ------------ cgr_append 0 ------------ ------------ cgr_random 1 cgr_custom 1 ------------ ------ CS/ CZ ------ Caramel (RADIO): Throwing grenade! Caramel (RADIO): Flashbang out! Caramel (RADIO): Deploying smoke! ------------------ CZ w/ Map Location ------------------ Caramel @ CTSpawn (RADIO): Throwing grenade! Caramel @ CTSpawn (RADIO): Flashbang out! Caramel @ CTSpawn (RADIO): Deploying smoke! ------------ cgr_random 1 cgr_custom 0 ------------ ------ CS/ CZ ------ Caramel (RADIO): Throwing grenade! Caramel (RADIO): Flashbang out! Caramel (RADIO): Deploying smoke! ------------------ CZ w/ Map Location ------------------ Caramel @ CTSpawn (RADIO): Throwing grenade! Caramel @ CTSpawn (RADIO): Flashbang out! Caramel @ CTSpawn (RADIO): Deploying smoke! ------------ cgr_random 0 cgr_custom 1 ------------ ------ CS/ CZ ------ Caramel (RADIO): Fire in the hole! Caramel (RADIO): Fire in the hole! Caramel (RADIO): Fire in the hole! ------------------ CZ w/ Map Location ------------------ Caramel @ CTSpawn (RADIO): Fire in the hole! Caramel @ CTSpawn (RADIO): Fire in the hole! Caramel @ CTSpawn (RADIO): Fire in the hole! ------------ cgr_random 0 cgr_custom 0 ------------ ------ CS/ CZ ------ Caramel (RADIO): Fire in the hole! Caramel (RADIO): Fire in the hole! Caramel (RADIO): Fire in the hole! ------------------ CZ w/ Map Location ------------------ Caramel @ CTSpawn (RADIO): Fire in the hole! Caramel @ CTSpawn (RADIO): Fire in the hole! Caramel @ CTSpawn (RADIO): Fire in the hole! ------------ cgr_append 1 ------------ ------ CS/ CZ ------ Caramel (RADIO): Fire in the hole! GRENADE Caramel (RADIO): Fire in the hole! FLASH Caramel (RADIO): Fire in the hole! SMOKE ------------------ CZ w/ Map Location ------------------ Caramel @ CTSpawn (RADIO): Fire in the hole! GRENADE Caramel @ CTSpawn (RADIO): Fire in the hole! FLASH Caramel @ CTSpawn (RADIO): Fire in the hole! SMOKE ------------ cgr_append 2 ------------ ------ CS/ CZ ------ Caramel (RADIO): GRENADE Caramel (RADIO): FLASH Caramel (RADIO): SMOKE ------------------ CZ w/ Map Location ------------------ Caramel @ CTSpawn (RADIO): GRENADE Caramel @ CTSpawn (RADIO): FLASH Caramel @ CTSpawn (RADIO): SMOKE See The 'conditioned_grenade_radio.inc' File PHP Code: #if defined _conditioned_grenade_radio #endinput #endif /// defined _conditioned_grenade_radio #define _conditioned_grenade_radio #if defined AMXX_VERSION_NUM #if AMXX_VERSION_NUM >= 175 #pragma reqlib conditioned_grenade_radio #if !defined AMXMODX_NOAUTOLOAD #pragma loadlib conditioned_grenade_radio #endif /// !defined AMXMODX_NOAUTOLOAD #else /// AMXX_VERSION_NUM >= 175 #pragma library conditioned_grenade_radio #endif /// AMXX_VERSION_NUM >= 175 #else /// defined AMXX_VERSION_NUM #pragma library conditioned_grenade_radio #endif /// defined AMXX_VERSION_NUM #include < amxmodx > /** * * Sets the tag. This will overwrite an existing tag, if any. * * Do not call this inside the `client_connect()` forward. Call this later. For example, call this inside the `client_authorized()` or `client_putinserver()` forwards. * * The examples of tags are listed below. * * "\x04[CARAMEL] " ( If In Your .SMA There Is `#pragma ctrlchar '\'` ) [ GREEN ] * * "^x04[CARAMEL] " ( If In Your .SMA There Is No `#pragma ctrlchar` At All Or There Is `#pragma ctrlchar '^'` ) [ GREEN ] * * "\x03[CARAMEL] " ( If In Your .SMA There Is `#pragma ctrlchar '\'` ) [ GRENADE = RED, FLASH = GREY & SMOKE = TEAM COLOR ( RED/ BLUE ) { THROWER'S TEAM COLOR } ] * * "^x03[CARAMEL] " ( If In Your .SMA There Is No `#pragma ctrlchar` At All Or There Is `#pragma ctrlchar '^'` ) [ GRENADE = RED, FLASH = GREY & SMOKE = TEAM COLOR ( RED/ BLUE ) { THROWER'S TEAM COLOR } ] * * "[\x04 CARAMEL\x01 ] " ( If In Your .SMA There Is `#pragma ctrlchar '\'` ) [ GREEN ] * "[ \x04CARAMEL \x01] " ( If In Your .SMA There Is `#pragma ctrlchar '\'` ) [ GREEN ] * * "[^x04 CARAMEL^x01 ] " ( If In Your .SMA There Is No `#pragma ctrlchar` At All Or There Is `#pragma ctrlchar '^'` ) [ GREEN ] * "[ ^x04CARAMEL ^x01] " ( If In Your .SMA There Is No `#pragma ctrlchar` At All Or There Is `#pragma ctrlchar '^'` ) [ GREEN ] * * "[\x03 CARAMEL^x01 ] " ( If In Your .SMA There Is `#pragma ctrlchar '\'` ) [ GRENADE = RED, FLASH = GREY & SMOKE = TEAM COLOR ( RED/ BLUE ) { THROWER'S TEAM COLOR } ] * "[ \x03CARAMEL ^x01] " ( If In Your .SMA There Is `#pragma ctrlchar '\'` ) [ GRENADE = RED, FLASH = GREY & SMOKE = TEAM COLOR ( RED/ BLUE ) { THROWER'S TEAM COLOR } ] * * "[^x03 CARAMEL^x01 ] " ( If In Your .SMA There Is No `#pragma ctrlchar` At All Or There Is `#pragma ctrlchar '^'` ) [ GRENADE = RED, FLASH = GREY & SMOKE = TEAM COLOR ( RED/ BLUE ) { THROWER'S TEAM COLOR } ] * "[ ^x03CARAMEL ^x01] " ( If In Your .SMA There Is No `#pragma ctrlchar` At All Or There Is `#pragma ctrlchar '^'` ) [ GRENADE = RED, FLASH = GREY & SMOKE = TEAM COLOR ( RED/ BLUE ) { THROWER'S TEAM COLOR } ] * * "CARAMEL " [ NORMAL COLOR ] * * "[CARAMEL] " [ NORMAL COLOR ] * */ native CGR_SetPlayerTag(nPlayer, const szTag[]); /** * * Removes the tag. * * No need to call this inside `client_connect()`, `client_disconnect()` or `client_disconnected()`. * */ native CGR_DelPlayerTag(nPlayer); Example Of Setting A Player Tag/ See The 'cgr_player_tags.sma' File PHP Code: #pragma tabsize 0 #pragma semicolon 0 #pragma ctrlchar '\' #pragma dynamic 4194304 #include < amxmodx > #include < conditioned_grenade_radio > static const g_pszSteams[] = { "STEAM_0:0:36120359", }; static const g_pszTags[] = { "[\x04 KING\x01 ] ", }; #if !defined MaxClients static g_nPlayers = 0; #endif public plugin_init() { register_plugin("CGR Player Tags", __DATE__, "Hattrick HKS (ClaudiuHKS)"); return PLUGIN_CONTINUE; } public plugin_cfg() { #if !defined MaxClients g_nPlayers = get_maxplayers(); if (1 > g_nPlayers) { return PLUGIN_CONTINUE; } #endif /// return PLUGIN_CONTINUE; } #if defined client_connectex public client_authorized(nPlayer, const szSteam[]) #else public client_authorized(nPlayer) #endif { static nIter = 0; #if !defined client_connectex static szSteam[64] = { EOS, ... }; #endif if (1 > nPlayer) { return PLUGIN_CONTINUE; } #if !defined MaxClients if (nPlayer > g_nPlayers) { return PLUGIN_CONTINUE; } #else if (nPlayer > MaxClients) { return PLUGIN_CONTINUE; } #endif #if !defined client_connectex get_user_authid(nPlayer, szSteam, charsmax(szSteam)); #endif for (nIter = 0; nIter < sizeof(g_pszSteams); nIter++) { if (!equali(g_pszSteams[nIter], szSteam)) { continue; } CGR_SetPlayerTag(nPlayer, g_pszTags[nIter]); break; } return PLUGIN_CONTINUE; } public client_putinserver(nPlayer) { static nIter = 0; static szSteam[64] = { EOS, ... }; if (1 > nPlayer) { return PLUGIN_CONTINUE; } #if !defined MaxClients if (nPlayer > g_nPlayers) { return PLUGIN_CONTINUE; } #else if (nPlayer > MaxClients) { return PLUGIN_CONTINUE; } #endif get_user_authid(nPlayer, szSteam, charsmax(szSteam)); for (nIter = 0; nIter < sizeof(g_pszSteams); nIter++) { if (!equali(g_pszSteams[nIter], szSteam)) { continue; } CGR_SetPlayerTag(nPlayer, g_pszTags[nIter]); break; } return PLUGIN_CONTINUE; } conditioned_grenade_radio.inc goes to /addons/amxmodx/scripting/include/ Attached Files Get Plugin or Get Source (cs_conditioned_grenade_radio.sma - 164.2 KB) conditioned_grenade_radio.inc (3.5 KB) Przeczytaj cały wpis
  23. I would like to know how to change the sky in the cs server ? customsky.cfg Code: ; Custom map sky config zm_ice_attack3 zr_fullmoonbk_ zm_ice_attack3 zr_fullmoonbk_ customsky.sma Code: #include <amxmodx> #include <amxmisc> #define PLUGIN "custom sky" #define VERSION "1.1" #define AUTHOR "cheap_suit" #define max_suffix 6 new g_suffix[max_suffix][3] = { "up", "dn", "ft", "bk", "lf", "rt" } public plugin_precache() { register_plugin(PLUGIN, VERSION, AUTHOR) register_cvar(PLUGIN, VERSION, FCVAR_SPONLY|FCVAR_SERVER) register_cvar("sv_customsky", "1") register_cvar("sv_customskyname", "test_") switch(get_cvar_num("sv_customsky")) { case 1: { static configsdir[32] get_configsdir(configsdir, 31) static file[64] formatex(file, 63, "%s/custom_sky.cfg", configsdir) static mapname[32] get_mapname(mapname, 31) if(!file_exists(file)) { write_file(file, "; Custom map sky config") write_file(file, "; Format: <mapname> <skyname>") } new line = 0, length = 0 static text[64], maptext[32], tgatext[32] while(read_file(file, line++, text, 127, length)) { if((text[0] == ';') || !length) continue parse(text, maptext, 31, tgatext, 31) if(equal(maptext, mapname)) { precache_sky(tgatext) break } } } case 2: { static cvar_skyname[32] get_cvar_string("sv_customskyname", cvar_skyname, 31) if(strlen(cvar_skyname) > 0) precache_sky(cvar_skyname) } } } public precache_sky(const skyname[]) { new bool:found = true static tgafile[35] for(new i = 0; i < max_suffix; ++i) { formatex(tgafile, 34, "gfx/env/%s%s.tga", skyname, g_suffix[i]) if(file_exists(tgafile)) precache_generic(tgafile) else { log_amx("Cannot locate file '%s'", tgafile) found = false break } } if(found) set_cvar_string("sv_skyname", skyname) } Przeczytaj cały wpis
  24. About the ReSemiclip module I used the module https://forums.alliedmods.net/showthread.php?t=319814 Finally I found out that Half-Life uses it It is feasible to use in CS1.6 But the enemy will pass through me and I can't deal with it My server uses ReHLDS but ReGameDLL is not installed. My server also needs to use orpheu, so I didn’t install it. Regarding the Semiclip plug-in and module here, I have tried them all but they still can’t I would like to ask the experts here if they have any solutions. Przeczytaj cały wpis
  25. MYGO.pl

    RSSwss

    Can someone write that if someone has the ADMIN_LEVEL_H flag, then the found_kredit should be double? Attached Files Get Plugin or Get Source (halooween_skin_rendszer.sma - 14.9 KB) Przeczytaj cały wpis
×
×
  • Dodaj nową pozycję...