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

    28667
  • Dołączył

  • Ostatnia wizyta

    nigdy
  • Wygrane w rankingu

    11

Treść opublikowana przez MYGO.pl

  1. I enabled the option that gives a HE grenade when a player is spawned/respawned in this CSDM mod, but bots can't use the HE grenade properly. When i restart the server, bots use the HE grenade only one time, then don't use the grenade anymore, despite the fact they have one and always get it when they are respawned. In the csdm.cfg file, the setting are set that way: ;Grenade flags: ; f - flashbang ; h - he grenade ; s - smoke grenade grenades = hs It seems the default CS 1.6 can't use grenades in this mod. Maybe, i have to add additional bot support usign a third-party plugin? Przeczytaj cały wpis
  2. Is it possible to make this CSDM mod to give players a HE grenade and clip refiling when they make a headshot on a enemy player? I already enabled the option that gives grenades, including a HE grenade, when a player is spawned/respawned and select weapons. Now, i want to make the mod give a HE grenade and clip refiling to each player who kills another player with a headshot. How is the feature in question added, via a third-party plugin, or is there a built-in option for that? Przeczytaj cały wpis
  3. Cvars PHP Code: // 1 = enable normal sprite, 2 = enable thirkdstrike sprite. add numbers together // - // Default: "3" // Minimum: "0.000000" // Maximum: "3.000000" survivor_sprite_enable "3" // bone of normal sprite. leave empty to disable // - // Default: "spine" survivor_sprite_normal_bone "spine" // render color of normal sprite, split up with space // - // Default: "255 255 255" survivor_sprite_normal_color "255 255 255" // model of normal sprite // - // Default: "materials/vgui/icon_button_friends.vmt" survivor_sprite_normal_model "materials/vgui/icon_button_friends.vmt" // position of normal sprite, split up with space // - // Default: "0.0 0.0 0.0" survivor_sprite_normal_pos "0.0 0.0 0.0" // duration of pulse to show normal sprite. 0.0 or lower = disable // - // Default: "0.3" survivor_sprite_normal_pulse_duration "0.3" // interval of pulse to show normal sprite. 0.0 or lower = disable // - // Default: "0.3" survivor_sprite_normal_pulse_interval "0.3" // scale of normal sprite // - // Default: "0.4" survivor_sprite_normal_scale "0.4" // 1 = enable, 0 = disable. can normal sprite be seen through things solid? // - // Default: "0" survivor_sprite_normal_through_things "0" // bone of thirkdstrike sprite. leave empty to disable // - // Default: "spine" survivor_sprite_thirdstrike_bone "spine" // render color of thirkdstrike sprite, split up with space // - // Default: "255 255 255" survivor_sprite_thirdstrike_color "255 255 255" // model of thirkdstrike sprite // - // Default: "materials/vgui/hud/icon_medkit.vmt" survivor_sprite_thirdstrike_model "materials/vgui/hud/icon_medkit.vmt" // position of thirkdstrike sprite, split up with space // - // Default: "0.0 0.0 0.0" survivor_sprite_thirdstrike_pos "0.0 0.0 0.0" // duration of pulse to show thirkdstrike sprite. 0.0 or lower = disable // - // Default: "0.3" survivor_sprite_thirdstrike_pulse_duration "0.3" // interval of pulse to show thirkdstrike sprite. 0.0 or lower = disable // - // Default: "0.3" survivor_sprite_thirdstrike_pulse_interval "0.3" // scale of thirkdstrike sprite // - // Default: "0.1" survivor_sprite_thirdstrike_scale "0.1" // 1 = enable, 0 = disable. can thirkdstrike sprite be seen through things solid? // - // Default: "0" survivor_sprite_thirdstrike_through_things "0" Change log Spoiler Code: 1.1 (2023-09-21: init public release. Attached Files Get Plugin or Get Source (survivor_sprite.sp - 16.2 KB) Wyświetl pełny artykuł
  4. Video ConVars PHP Code: z_dynamic_jump_debug - Enable debug (default 0) z_dynamic_jump_think_interval - How frequently we can think about jump z_dynamic_jump_check_interval - How frequently we can actually jump z_dynamic_jump_climb_up_range - Minimum range for jump (it is counted from current goal segment so works backwards) z_dynamic_jump_velocity - Velocity of jump z_dynamic_jump_chance - If common infected sees opportunity to jump this cvar can prevent it from doing so. Simple chance to jump z_dynamic_jump_chance_throttle - if rng blocked jump then this will block thinking about jump for X seconds RequirementActions CreditsMethamphetamine - for test video Attached Files l4d2_dynamic_jump.zip (27.9 KB) Wyświetl pełny artykuł
  5. Hello! I have problem with bazooka new modes 1.6 in my zombie plague 5.0.8. When I'm shooting my rocket, the rocket doesn't disappear when it touch the zombie or walls. It want to kill zombie to 0hp and the disappears. Someone can help me? Code: L 09/20/2023 - 17:30:08: [AMXX] Displaying debug trace (plugin "zp_bazooka_new.amxx") L 09/20/2023 - 17:30:08: [AMXX] Run time error 10: native error (native "get_pcvar_num") L 09/20/2023 - 17:30:08: [AMXX] [0] zp_bazooka_new.sma::baz_damage (line 557) L 09/20/2023 - 17:30:08: [AMXX] [1] zp_bazooka_new.sma::fw_touch (line 431) Attached Files Get Plugin or Get Source (zp_bazooka_new.sma - 22.2 KB) Przeczytaj cały wpis
  6. Airshot 2.0 An updated Airshot plugin originally released by Watch: https://forums.alliedmods.net/showth...hlight=airshot Requirements: AMXX 1.8.3 or above (HUD Messages are sent using Director HUD Messages) Install the .wav sounds to: tfc/sound/airshot New Features: Added colour HUD Messages - HUD Messages will be the team colours of the owner and victim. Added mid-air and double airshot detection - If the owner is also in the air, a mid-airshot is detected. - If the owner hits the same victim twice before they hit the ground, a double is detected. Added quake sounds for each airshot - Airshot = Ownage - Mid-air = Dominating - Doubled = Holy shit! Added more gore! - If the victim is killed by an airshot, Extra gibs and blood will be rendered. Notes (Bugs): Only 3 airshots can be printed on the screen at the same time and will stack with the most recent at the bottom, then reset to the top when all are cleared. Player names are limited to 20 characters, Longer names will be shortened. If another player airshots just after one, then that victim becomes the new double detection victim and the first will be ignored. HAVE FUN! :D Attached Files Get Plugin or Get Source (airshot2.sma - 13.4 KB) Airshot2.zip (309.1 KB) Przeczytaj cały wpis
  7. CHAPTER 1: RULES 1. READ ALL DESCRIPTION BEFORE ASKING. I will not answer the questions with answers mentioned below. 2. All fixes I made and use by myself, they are fine for me, may not be fine for you and that's NOT MY PROBLEM. 3. Plugins list I made as AMATEUR for us, AMATEURS, in servers development you as a pro can do much better, of course. CHAPTER 2: STRIPPER In archive you will find configs for Stripper:Source with approximately 200 fixes of bugs/glitches for COOP maps. 99% of them are places, where player gets out of NavMesh or shortcut game events, they are blocked with invisible wall(env_playerblocker) or death triggers. Other 1% are subjective and will be listed here: No Mercy map 4,5: All zombies that fall down from upper floor will be teleported back and attack again. Crash Course map 2: Shortcut near alarm car closed like in L4D2. Death Toll map 5: Added sniper spawn for retaining the concept of final. Dead Air map 3: Fixed molotov throwing bug. Dead Air map 5: Airplane propeller damages and kill. Blood Harvest map 5: Added minigun for retaining the concept of final. The Sacrifice map 3: After bridge start rising, players cant leave before it will stop. Minigun spawns are randomized with mounted gun. Any fix is signed and has a screenshot or link on YouTube to make your edtiting and understanding easier. Also it contains plugin that makes block visible if it is aimed with sm_show command, might be usefull. CHAPTER 3: PLUGINS Here will be listed plugins, supposed to fix some game issues wich I personaly check and use: [L4D] Health Exploit Fix by Dragokas. [L4D] Survivor Spawn Position Fix by Dragokas. [L4D & L4D2]Witch fixes by Lux. [L4D1 & L4D2] Weapon Prop Give Fix by Marttt. [L4D1 & L4D2]Stop air revive fix by Lux. [L4D1 & L4D2] Revive Reload Interrupt Fix by HarryPotter. [L4D1 & L4D2] Choose Door Fix for Incapacitated Survivors by Marttt. [L4D/L4D2] Witch Vision Fix by cravenge. [L4D & L4D2] Exploit Fix - Unlimited Grenades by Silvers. [L4D & L4D2] Various Exploit Fixes by Silvers. [L4D/2] Minigun fix by Dosergen. [L4D] Water Speed) by Beatles. TickrateFixes by Sir, Griffin, HarryPotter. [L4D & L4D2] witch smart attack behind by HarryPotter. Tank Punch Ceiling Stuck Fix by Tabun, Visor, HarryPotter. [L4D & 2] Smart AI Rock by Forgetest, CanadaRox (Original author). [L4D & 2] Fix Common Shove by Forgetest. [L4D & L4D2] Saferoom Door Spam Protection by Silvers. CHAPTER 4: REQUESTS I'm interested only in a few cases to develop in the future, so all others requests will be ignored, sorry. The cases are: 1. Add fixes to vs maps. Let me know if it is necessary, it will hurry me up. 2. Change some fixes with NavMesh editing, may be add some new ways for ai. 3. Fix bugs that I don't know. If you will shortly describe and attach the screenshot I will be grateful. CHAPTER 5: GRATITUDE Honor and glory for contribution for authors mentioned above and all Alliedmods community, you are doing a great job. Special thanks to my friend Ĵōḩń˳Ėŗŕōŗツ, for helping with screenshots and code cleaning. DOWNLOADLINK, plugin duplicated just for the record. Attached Files Get Plugin or Get Source (test.sp - 2.0 KB) test.smx (5.1 KB) Wyświetl pełny artykuł
  8. I'm using BAILOPAN's CSDM mod. This is the mod i'm talking about: https://forums.alliedmods.net/showthread.php?t=79583 So, when i spawn or respawn, i get the menu to choose weapons from, but no grenades are given to me or other players. I saw than in other CSDM servers, you get your primary and secondary weapons and grenades like the HE grenade. I want to make my server give the HE grenade to players once they get their primary and secondary weapons. Is the HE grenade in CSDM enabled by the built-in settings of the CSDM mod, or by the addition of a third-party plugin? Przeczytaj cały wpis
  9. -- This gamemode is designed with respawning in mind! -- To turn on respawning, set the following commands: mp_respawn_on_death_ct 1 mp_respawn_on_death_t 1 -- DESCRIPTION -- This is a custom gamemode that does the following things: - Switches a players team after death (Meaning if a CT dies, they're automatically turned into a Terrorist and vice versa) - If one team is left without any players, the opposing team wins and gains a point For example: If the CTs eliminate all the Terrorists and there are no longer any players left on the Terrorist team, the CTs win the round. - Balances the teams next round, so that team sizes are equal -- CVARS -- None, for now. I'll eventually add a Cvar that can toggle the gamemode on or off Attached Files Get Plugin or Get Source (deathteam.sp - 1.6 KB) deathteam.smx (3.5 KB) Wyświetl pełny artykuł
  10. So, i installed BAILOPAN's CSDM mod. Now, i need a plugin that gives you bonus HP per kill. In other CSDM servers, i saw that when you kill another player, your screen becomes blueish for around 1 second or even less and then you get X health points (depending on the cvar). I don't know if the function in question is built-in Warcraft mods only, but i think it's possible to add it as a third-party plugin to my CSDM mod, too. Przeczytaj cały wpis
  11. Looking for long-term Developer, contact me in PM for more informations :) Przeczytaj cały wpis
  12. This is a plugin that creates some halloween atmosphere. List of features (You can preview some of them on github page) - Health/Ammo pickup sounds - Spray sound (boo!) - Spooky sounds on connect - Round start sounds - Halloween soundscape replacement (don't work on halloween maps) - Round end sounds replacement (like on Helltower) - Halloween weapon/cosmetic spells - Zombie souls - Zombie viewmodels - Tombstone on death - Projectile model replacement (no collision changes) - Skybox and color correction changes (don't work on halloween maps) - Resupply locker and ammopack model changes - Objective capture and static effects 🡺 Source Code on GitHub Download 🡺 Download Latest Release Wyświetl pełny artykuł
  13. Cykarblast is a server-side SourceMod plugin for Team Fortress 2 that allows a Heavy taunting with the Road Rager to blast bullets out of the car's turret. Damage, bullet spread, and crit chances are configurable. Friendly fire via mp_friendlyfire is also supported. ConVars: Code: sm_cykarblast_bullet_damage [Default: 15.0] - Bullet base damage sm_cykarblast_bullet_spread [Default: 0.04] - Bullet spread sm_cykarblast_crit_chance [Default: 0.04] - Bullet critical chanceDownload via GitHub Repository: - Source - Plugin Wyświetl pełny artykuł
  14. Quote: warmup.sma(20) : error 029 invalid expression, assumed zero warmup.sma(20) : warning 215: expression has no effect warmup.sma(20) : error 029 invalid expression, assumed zero warmup.sma(20) : error 029 invalid expression, assumed zero warmup.sma(20) : fatal error 107: too many error messages on one line PHP Code: #include <amxmodx> #include <fun> new WarmupTime = 60; // Duración del calentamiento en segundos new WarmupMusic[] = "music/warmup.mp3"; // Ruta de la música de calentamiento public plugin_init() { register_plugin("warmup", "1.0", "a stranger"); register_clcmd("warmup", "cmd_warmup"); } public cmd_warmup(id) { new time = get_user_weapon(id); // Obtenemos el arma actual del jugador if (time == CSW_AWP || time == CSW_AK47 || time == CSW_M4A1) { set_task(WarmupTimer, 1000, _, id); client_print(id, print_console, "¡Calentamiento iniciado!"); // Reproducir música client_cmd(id, "mp3 play ", WarmupMusic, " 1"); } else { client_print(id, print_console, "No se puede realizar el calentamiento con esta arma."); } } public WarmupTimer(id) { if (WarmupTime > 0) { client_print(id, print_chat, "¡Tiempo restante de calentamiento: ", WarmupTime, " segundos!"); WarmupTime--; set_task(WarmupTimer, 1000, _, id); } else { client_print(id, print_chat, "¡Calentamiento finalizado!"); // Detener música gradualmente client_cmd(id, "mp3 fadeout 5"); } }#include <amxmodx> #include <fun> new WarmupTime = 60; // Duración del calentamiento en segundos new WarmupMusic[] = "music/warmup.mp3"; // Ruta de la música de calentamiento public plugin_init() { register_plugin("warm-up", "1.0", "a stranger"); register_clcmd("warmup", "cmd_warmup"); } public cmd_warmup(id) { new time = get_user_weapon(id); // Obtenemos el arma actual del jugador if (time == CSW_AWP || time == CSW_AK47 || time == CSW_M4A1) { set_task(WarmupTimer, 1000, _, id); client_print(id, print_console, "¡Calentamiento iniciado!"); // Reproducir música client_cmd(id, "mp3 play ", WarmupMusic, " 1"); } else { client_print(id, print_console, "No se puede realizar el calentamiento con esta arma."); } } public WarmupTimer(id) { if (WarmupTime > 0) { client_print(id, print_chat, "¡Tiempo restante de calentamiento: ", WarmupTime, " segundos!"); WarmupTime--; set_task(WarmupTimer, 1000, _, id); } else { client_print(id, print_chat, "¡Calentamiento finalizado!"); // Detener música gradualmente client_cmd(id, "mp3 fadeout 5"); } }#include <amxmodx> #include <fun> new WarmupTime = 60; // Duración del calentamiento en segundos new WarmupMusic[] = "music/warmup.mp3"; // Ruta de la música de calentamiento public plugin_init() { register_plugin("warm-up", "1.0", "a stranger"); register_clcmd("warmup", "cmd_warmup"); } public cmd_warmup(id) { new time = get_user_weapon(id); // Obtenemos el arma actual del jugador if (time == CSW_AWP || time == CSW_AK47 || time == CSW_M4A1) { set_task(WarmupTimer, 1000, _, id); client_print(id, print_console, "¡Calentamiento iniciado!"); // Reproducir música client_cmd(id, "mp3 play ", WarmupMusic, " 1"); } else { client_print(id, print_console, "No se puede realizar el calentamiento con esta arma."); } } public WarmupTimer(id) { if (WarmupTime > 0) { client_print(id, print_chat, "¡Tiempo restante de calentamiento: ", WarmupTime, " segundos!"); WarmupTime--; set_task(WarmupTimer, 1000, _, id); } else { client_print(id, print_chat, "¡Calentamiento finalizado!"); // Detener música gradualmente client_cmd(id, "mp3 fadeout 5"); } } Przeczytaj cały wpis
  15. I have a plugin (I think) on my cs 1.6 server that every few minutes it randomly says in the chat "[Server prefix/tag] 2 3" and its really annoying and I tried going through every single SMA or code of the plugins I have on my servers and I couldnt find it anywhere. Does anyone know what to do? Przeczytaj cały wpis
  16. Marketing analytics is the process of using data analysis tools and methods to measure and evaluate the effectiveness of marketing activities. It provides the information needed to understand and optimize marketing strategies and campaigns, from identifying the determinants of success to measuring and forecasting performance. Here are some ways to analyze marketing effectively: 1. Set measurable goals: First, identify clear and measurable marketing goals. This could be increasing sales, increasing website traffic, increasing conversion rates, or any other goal that makes sense for your business. 2. Collect data: Collect data from different sources such as web analytics tools, social networking platforms, email marketing, or CRM systems. Make sure you gather enough information to understand and evaluate your marketing activities. 3. Data analysis: Use data analysis tools and methods to understand and extract important information. This includes performing quantitative and qualitative analyzes to find patterns, trends, and relationships in data. 4. Measure effectiveness: Use indicators and metrics to measure the effectiveness of marketing activities. For example, you can track conversion rates, traffic, social media engagement, or revenue to evaluate the effectiveness of your campaign. 5. Make data-driven decisions: Based on data analysis and evaluation, use the information to optimize your marketing strategy. This may include tweaking campaigns, directing resources to more effective channels, or changing other factors to achieve better results. Most importantly, marketing analytics requires continuous and skillful data collection and analysis to produce meaningful and practical information. Przeczytaj cały wpis
  17. This plugin aims to recreate Quake Live in CS:GO. It is recommended to use a fresh server for this plugin, since its a bit more than just copying a .smx file. For more info, screenshots, instructions and documentation see the GitHub readme aswell as the wiki. Github Wyświetl pełny artykuł
  18. Virtual Weapon Slots - v0.0.1, posted at : 12/09/2023 This is a beta version of my new project. Now you can use more than 2 of the same weapons. For example, you can have 2 special AKs or AWPs. Even if you drop your AK, when you pick it up you will be able to reopen the menu and switch your AK. Short Video Include File Code: #if defined _virtual_weapon_slots_included #endinput #endif #define _virtual_weapon_slots_included /** * Register Weapons * * @param szName Name on Menu * @param iCSW CSW_ of weapon * @return An internal Weapon Index */ native virtual_weapon_register(const szName[], iCSW) /** * Give weapon * * @param Id Player Index * @param iSlot Weapon Internal Index * @param iCSW Weapon default ID */ native virtual_weapon_give(id, iSlot, iCSW) /** * Remove Weapon * * @param Id Player Index * @param iSlot Weapon Internal Index * @param iCSW Weapon default ID */ native virtual_weapon_take(id, iSlot, iCSW) /** * Checks if user has the weapon (Holding or not holding) * * @param Id Player Index * @param iSlot Weapon Internal Index */ native virtual_weapon_user_has(id, iSlot) /** * Gets the Weapon's Internal Index * * @param Id Player Index */ native Float:virtual_weapon_get_current(id) Despite this is not 100% finish, the main point of the plugin is working. And for that reason i am releasing it as a beta version so you can start using it. Attached Files Get Plugin or Get Source (virtual_weapon_slots.sma - 6.2 KB) virtual_weapon_slots.inc (969 Bytes) virtual_weapon_slots.txt (589 Bytes) Przeczytaj cały wpis
  19. Find a plugin that allows admins to force people to turn off music I just want stopsound to work in the people console Does anyone know of this plugin? Hopefully a plugin that works for TF2 games Przeczytaj cały wpis
  20. MYGO.pl

    RSSDelete

    Delete Przeczytaj cały wpis
  21. MYGO.pl

    RSSCS 1.6 Clan

    Hello guys, I'm looking for a plugin to do this: The owner of the server can create a clan and put a clan leader and a clan tag The clan leader can do this: /claninvite - invite other people in his clan /clanuninvite - remove people from clan Members can do this: /c - clan chat It would really help me. I really need it. Thanks in advance. Przeczytaj cały wpis
  22. Hi guys, I'm looking for 3 plugins, I've been looking for a long time and I can't find them. The first is the complement of giving 1 AWP weapon per team to random players, also to be able to give the AWP requires a minimum of 10 players. The second is an advanced statistics plugin that shows hud and chat messages to players about their damage, etc. The third is the complement to improve the top15, the most updated ranking design Thanks and sorry for the inconvenience Przeczytaj cały wpis
  23. Hello can you make a plugin for ZP 5.0.8 that would respawn the last person or zombie 4 times? After that, he must die like everyone else and the round ends do i have to pay money $ or do you help for free? Przeczytaj cały wpis
  24. Sorry for my English, I use a translator. I've looked for plugins on the topic but I need something simpler. I need a user registration system that stores along with statistics (ranking, top 15) in a database for later integration into a website. Przeczytaj cały wpis
  25. Hello ! Can you add to this free vip event plugin a menu with weapons free for all players ; AK47+DEAGLE+HE SMOKE FLASHBANG M4A1+DEAGLE+HE SMOKE FLASHBANG Also for gold vip with flag access "t" AWP+DEAGLE + HE SMOKE FLASHBANG Thanks in advance!! #include <amxmodx> #include <amxmisc> const TASK_ID = 258; new task_set = 0; new inceput, sfarsit, flag_vip, h public plugin_init() { register_plugin("Dam la saraci vip", "3.0", "cyby // editat de LOL") register_dictionary("vip_free.txt") inceput = register_cvar( "vip_start", "01" ); sfarsit = register_cvar( "vip_end", "23" ) flag_vip = register_cvar( "vip_flag", "524288" ) } public client_putinserver(id) { new o, m, s; time(o, m, s) if(o >= get_pcvar_num( inceput ) && o < get_pcvar_num( sfarsit )) { if( get_user_flags(id) != get_pcvar_num( flag_vip ) ) { set_user_flags(id, get_pcvar_num( flag_vip )) set_task(3.0, "mesaj", id) set_task(1.0, "hud_mess", _, _, _, "b") set_task(60.0, "incepe", id) set_task(60.0, "terminare", id) } if( !task_set ) { set_task( 60.0, "recheck", TASK_ID, _, _, "b" ); // task pus la 1 minut pentru a functiona corect task_set = 1; } } } public recheck() { time( h, _, _ ); if( h >= 23 ) { new iPlayers[ 32 ], iNum, i; get_players( iPlayers, iNum ); for( i = 0; i < iNum; i++ ) { remove_user_flags( iPlayers[ i ] ); } server_cmd( "amx_reloadadmins" ); remove_task( TASK_ID ); task_set = 0; } } public incepe(id) { new o, m, s; time(o, m, s) if(o == get_pcvar_num( inceput ) ) ColorChat(id, "%L", LANG_SERVER, "MESAJ_INCEPUT") } public terminare(id) { new o, m, s; time(o, m, s) if(o == get_pcvar_num( sfarsit ) ) ColorChat(id, "%L", LANG_SERVER, "MESAJ_SFARSIT") } public hud_mess() { new o, m, s; time(o, m, s) if(o >= get_pcvar_num( inceput ) && o < get_pcvar_num( sfarsit )) { set_hudmessage(random(256), random(256), random(256), 0.00, 0.17, 1, 1.0, 1.1, 0.1, 0.1, -1) show_hudmessage(0, "%L", LANG_SERVER, "MESAJ_HUD") } } public mesaj(id) { if( get_user_flags(id) != get_pcvar_num( flag_vip ) ) { ColorChat(id, "%L", LANG_SERVER, "MESAJ_INTRARE", get_pcvar_num( inceput ), get_pcvar_num( sfarsit )) } } stock ColorChat(const id, const input[], any:...) { new count = 1, players[32]; static msg[191]; vformat(msg, 190, input, 3); replace_all(msg, 190, "!g", "^4"); replace_all(msg, 190, "!n", "^1"); replace_all(msg, 190, "!t", "^3"); if(id) players[0] = id; else get_players(players, count, "ch"); { for(new i = 0; i < count; i++) { if(is_user_connected(players[i])) { message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, players[i]); write_byte(players[i]); write_string(msg); message_end(); } } } } Przeczytaj cały wpis
×
×
  • Dodaj nową pozycję...