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

    28685
  • Dołączył

  • Ostatnia wizyta

    nigdy
  • Wygrane w rankingu

    11

Treść opublikowana przez MYGO.pl

  1. MYGO.pl

    Help

    Could someone help me with this error here Przeczytaj cały wpis
  2. I found some bugs with this code HTML Code: /* Credite: hadesownage: Base code for regeneration from "Furien VIP". Sophia - Dias: "Drop User Weapon". */ /* Plugin generated by AMXX-Studio */ #include <amxmodx> #include <fun> #include <cstrike> #include <hamsandwich> #include <fakemeta> #include <xs> #include <colorchat> ////////////////////////////////////////////////////// #define PLUGIN "Furien VIP" #define VERSION "0.1" #define AUTHOR "eNd." ///////////////////////////////////// /////////////////Pragma , only ; #pragma semicolon 1 //////////////////////////////////////////////////////Acces LEVEL. #define VIP_LEVEL ADMIN_LEVEL_H //////////////////////////////////////////////////////Weapons const WEAPONS_PISTOLS = (1<<CSW_P228)|(1<<CSW_ELITE)|(1<<CSW_FIVESEVEN)|(1<<CSW_USP)|(1<<CSW_GLOCK18)|(1<<CSW_DEAGLE); const WEAPONS_SHOTGUNS = (1<<CSW_XM1014)|(1<<CSW_M3); const WEAPONS_SUBMACHINEGUNS = (1<<CSW_MAC10)|(1<<CSW_UMP45)|(1<<CSW_MP5NAVY)|(1<<CSW_TMP)|(1<<CSW_P90); const WEAPONS_RIFLES = (1<<CSW_SCOUT)|(1<<CSW_AUG)|(1<<CSW_SG550)|(1<<CSW_GALIL)|(1<<CSW_FAMAS)|(1<<CSW_AWP)|(1<<CSW_M4A1)|(1<<CSW_G3SG1)|(1<<CSW_SG552)|(1<<CSW_AK47); const WEAPONS_MACHINEGUNS = (1<<CSW_M249); const VALID_WEAPONS = WEAPONS_PISTOLS|WEAPONS_SHOTGUNS|WEAPONS_SUBMACHINEGUNS|WEAPONS_RIFLES|WEAPONS_MACHINEGUNS; #define WEAPONS (WEAPONS_SHOTGUNS|WEAPONS_SUBMACHINEGUNS|WEAPONS_RIFLES|WEAPONS_MACHINEGUNS|WEAPONS_PISTOLS) //////////////////////////////////////////////////////Prefix new szPrefix[] = "[Furien VIP]"; //////////////////////////////////////////////////////Cvar1 new furien_on, furien_bind, furien_message_connect, furien_scoreboard; //////////////////////////////////////////////////////Cvar 2 new furien_give_stuff, furien_give_ultimate; //////////////////////////////////////////////////////Cvar 3 new furien_health_on, furien_health_max, furien_health; //////////////////////////////////////////////////////HUD new g_bHud; //////////////////////////////////////////////////////Models new Golden_Ak_V[64] = "models/furien_vip/v_golden_ak47.mdl"; new Golden_Ak_P[64] = "models/furien_vip/p_golden_ak47.mdl"; new Golden_Deagle_V[64] = "models/furien_vip/v_golden_deagle.mdl"; new Golden_Deagle_P[64] = "models/furien_vip/p_golden_deagle.mdl"; new Golden_M4a1_V[64] = "models/furien_vip/v_golden_m4a1.mdl"; new Golden_M4a1_P[64] = "models/furien_vip/p_golden_m4a1.mdl"; new Onion_V[64] = "models/furien_vip/v_onion.mdl"; new Knife_P[64] = "models/p_knife.mdl"; //////////////////////////////////////////////////////Texture new Drop_Texture; //////////////////////////////////////////////////////Bools new bool:g_bGoldenAk[33],bool:g_bGoldenM4a1[33],bool:g_bGoldenDeagle[33]; new bool:g_bOnion[33]; new bool:g_bLifeSteal[33],g_bDrop[33]; new bool:g_bCoolDown[33]; new bool:g_bUsed[33]; //////////////////////////////////////////////////////Init public plugin_init() { ////////////////////////////////////////////////////// register_plugin(PLUGIN, VERSION, AUTHOR); //////////////////////////////////////////////////////Clcmd register_clcmd("say", "hook_say"); register_clcmd("say_team", "hook_say"); //////////////////////////////////////////////////////Events register_event("CurWeapon", "CurWeapon", "be", "1=1"); register_event("CurWeapon", "CurWeaponn", "be", "1=1"); //Ham RegisterHam(Ham_Spawn, "player", "PlayerSpawn", 1); RegisterHam(Ham_TakeDamage, "player", "PlayerDamage"); //Fw register_forward(FM_EmitSound, "sound_emit"); //Concmd register_concmd("+drop","Drop"); register_concmd("-drop","Drop"); ////////////////////////////////////////////////////// } //////////////////////////////////////////////////////Precache public plugin_precache() { //////////////////////////////////////////////////////HUD g_bHud = CreateHudSyncObj(); //////////////////////////////////////////////////////Cvar 1 furien_on = register_cvar("furien_vip_on", "1"); //1 =On , 2 = Off furien_bind = register_cvar("furien_bind", "1"); //1 =On , 2 = Off furien_message_connect = register_cvar("furien_message_connect", "1"); //1 =On , 2 = Off furien_scoreboard = register_cvar("furien_scoreboard", "1"); //1 =On , 2 = Off //////////////////////////////////////////////////////Cvar 2 furien_give_stuff = register_cvar("furien_give_stuff", "1"); //1 =On , 2 = Off furien_give_ultimate = register_cvar("furien_give_ultimate", "1"); //1 =On , 2 = Off //////////////////////////////////////////////////////Cvar 3 furien_health_on = register_cvar("furien_regeneration_on", "1"); //1 =On , 2 = Off furien_health = register_cvar("furien_health", "1"); //1 = 1hp , 2 = 2hp / per second, etc. furien_health_max = register_cvar("furien_health_max", "100"); //100 = 100 hp, max n //////////////////////////////////////////////////////Models precache_model(Golden_Ak_V); precache_model(Golden_Ak_P); precache_model(Golden_Deagle_V); precache_model(Golden_Deagle_P); precache_model(Golden_M4a1_V); precache_model(Golden_M4a1_P); precache_model(Onion_V); precache_model(Knife_P); //////////////////////////////////////////////////////Sounds precache_sound("weapons/cbar_hitbod2.wav"); precache_sound("weapons/cbar_hitbod1.wav"); precache_sound("weapons/bullet_hit1.wav"); precache_sound("weapons/bullet_hit2.wav"); //////////////////////////////////////////////////////Texture Drop_Texture = precache_model("sprites/lgtning.spr"); } //////////////////////////////////////////////////////Drop Spr public Drop(id) { new szName[32]; get_user_name(id, szName, charsmax(szName)); if(!g_bDrop[id]) { ColorChat(id, GREEN,"%s^x03 %s^x01 nu ai acces la^x03 drop weapons.^x01", szPrefix, szName); return PLUGIN_HANDLED; } else { if(g_bCoolDown[id]) { ColorChat(id, GREEN,"%s^x03 CoolDown ON!^x01", szPrefix); return PLUGIN_HANDLED; } else { g_bCoolDown[id] = true; Drop_Now(id); } } return PLUGIN_HANDLED; } public UnDropFalse(id) { g_bCoolDown[id] = false; remove_task(id); ColorChat(id, GREEN,"%s^x03 CoolDown Off!^x01", szPrefix); return PLUGIN_HANDLED; } //////////////////////////////////////////////////////Spawn public PlayerSpawn(id) { new szFlags = get_user_flags(id); new szScore = get_pcvar_num(furien_scoreboard); new szWeapon = get_user_weapon(id); if(szFlags & VIP_LEVEL) { if(!szScore) return PLUGIN_HANDLED; else { if (get_user_team(id) == 1) if(szWeapon == CSW_C4) set_task( 0.6, "Bomb", id + 6910 ); set_task( 0.5, "Scoare_Board", id + 6910 ); } g_bGoldenAk[id] = false; g_bGoldenM4a1[id] = false; g_bGoldenDeagle[id] = false; g_bOnion[id] = false; g_bLifeSteal[id] = false; g_bDrop[id] = false; g_bUsed[id] = false; } return PLUGIN_HANDLED; } //////////////////////////////////////////////////////Take Damage public PlayerDamage(iVictim, iInflictor, iAttacker, Float:fDamage, iDamageBits ) { if(!is_user_alive(iAttacker) || is_user_bot(iAttacker)) return HAM_IGNORED; if(iInflictor == iAttacker && get_user_weapon(iAttacker) == CSW_KNIFE && cs_get_user_team(iAttacker) == CS_TEAM_T) { if(g_bLifeSteal[iVictim]) { message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("ScreenFade"), {0, 0, 0}, iVictim); write_short(3 << 12); write_short(3 << 12); write_short(0x0000); write_byte(255); write_byte(0); write_byte(0); write_byte(127); message_end(); } else if(g_bLifeSteal[iAttacker]) set_user_health(iAttacker, get_user_health(iAttacker) + 10); if(g_bOnion[iAttacker]) SetHamParamFloat( 4, fDamage+35); return HAM_HANDLED; } if(iInflictor == iAttacker && cs_get_user_team(iAttacker) == CS_TEAM_CT) { if(get_user_weapon(iAttacker) == CSW_DEAGLE && g_bGoldenDeagle[iAttacker]) SetHamParamFloat( 4, (fDamage+75)-fDamage); if((get_user_weapon(iAttacker) == CSW_AK47 || get_user_weapon(iAttacker) == CSW_M4A1) && (g_bGoldenM4a1[iAttacker] || g_bGoldenAk[iAttacker])) SetHamParamFloat( 4, (fDamage+125)-fDamage); return HAM_HANDLED; } return HAM_HANDLED; } //////////////////////////////////////////////////////Vip ScoreBoard public Scoare_Board(TaskID, id) { new szFlags = get_user_flags(id); new id = TaskID - 6910; if(szFlags & VIP_LEVEL) { message_begin(MSG_ALL, get_user_msgid("ScoreAttrib")); write_byte(id); write_byte(4); message_end(); } return PLUGIN_HANDLED; } //////////////////////////////////////////////////////Putinserver public client_putinserver(id) { new szBind = get_pcvar_num(furien_bind); new szMessage = get_pcvar_num(furien_message_connect); if(!szBind) return PLUGIN_HANDLED; else set_task(1.0, "set_bind", id); if(!szMessage) return PLUGIN_HANDLED; else set_task(1.5, "vip_connected", id); return PLUGIN_HANDLED; } //////////////////////////////////////////////////////Vip Connected public vip_connected(id) { new szFlags = get_user_flags(id); new szName[32],szHost[64]; get_user_name(id, szName, charsmax(szName)); get_cvar_string("hostname", szHost ,charsmax(szHost)); if(szFlags & VIP_LEVEL) { ColorChat(0, GREEN,"%s^x03 %s^x01 a intrat pe^x03 %s^x01", szPrefix, szName, szHost); return PLUGIN_HANDLED; } return PLUGIN_HANDLED; } //////////////////////////////////////////////////////Disconnect public client_disconnect(id) { new szMessage = get_pcvar_num(furien_message_connect); if(!szMessage) return PLUGIN_HANDLED; else set_task(1.5, "vip_disconnected", id); return PLUGIN_HANDLED; } //////////////////////////////////////////////////////Vip Disconnected public vip_disconnected(id) { new szFlags = get_user_flags(id); new szName[32],szHost[64]; get_user_name(id, szName, charsmax(szName)); get_cvar_string("hostname", szHost ,charsmax(szHost)); if(szFlags & VIP_LEVEL) { ColorChat(0, GREEN,"%s^x03 %s^x01 a iesit de pe^x03 %s^x01", szPrefix, szName, szHost); return PLUGIN_HANDLED; } return PLUGIN_HANDLED; } //////////////////////////////////////////////////////Set Bind public set_bind(id) { new szFlags = get_user_flags(id); new szName[32]; get_user_name(id, szName, charsmax(szName)); if(szFlags & VIP_LEVEL) { client_cmd(id, "bind p say /furienvip"); ColorChat(id, GREEN,"%s^x03 %s^x01 esti vip^x03 apasa p pentru meniu.^x01", szPrefix, szName); } else client_cmd(id, "unbind p"); return PLUGIN_HANDLED; } //////////////////////////////////////////////////////Hook Say public hook_say(id) { static Arg[192]; read_args(Arg, sizeof(Arg) - 1); remove_quotes(Arg); if(equal(Arg, "/vmenu", 5) || equal(Arg,"/furienvip",10)) { replace(Arg, sizeof(Arg) - 1, "/", ""); set_task(0.1,"Furien_Menu",id); } if(equal(Arg, "/vip", 5) || equal(Arg,"/vipinfo",10)) { replace(Arg, sizeof(Arg) - 1, "/", ""); show_motd(id,"/addons/amxmodx/data/lang/vip_info.txt"); } return PLUGIN_CONTINUE; } //////////////////////////////////////////////////////Furien Menu public Furien_Menu(id) { new szFlags = get_user_flags(id); new szFurienOn = get_pcvar_num(furien_on); new szName[32]; get_user_name(id, szName, charsmax(szName)); if(!is_user_alive(id) || is_user_bot(id)) { ColorChat(id, GREEN,"%s^x03 %s^x01 poti folosi comanda doar cand esti^x03 viu.^x01", szPrefix, szName); return PLUGIN_HANDLED; } if(!szFurienOn){ ColorChat(id, GREEN,"%s^x03 %s^x01 pluginul VIP este^x03 dezactivat.^x01", szPrefix, szName); return PLUGIN_HANDLED; } else { if(szFlags & VIP_LEVEL) { if(g_bUsed[id]) { ColorChat(id, GREEN,"%s^x03 %s^x01 tocmai ai folosit^x03 furien menu.^x01", szPrefix, szName); return PLUGIN_HANDLED; } else { new szVmenu = menu_create("\rVIP \dMenu:^n", "Show_Furien_Menu"); menu_additem(szVmenu, " \dStuff", "1", 0); menu_additem(szVmenu, " \dUltimate", "2", 0); menu_setprop(szVmenu, MPROP_EXIT, MEXIT_ALL); menu_display(id, szVmenu, 0); } } else { ColorChat(id, GREEN,"%s^x03 %s^x01 nu esti^x03 vip.^x01", szPrefix, szName); return PLUGIN_HANDLED; } } return PLUGIN_HANDLED; } //////////////////////////////////////////////////////Furien Sub Menu public Show_Furien_Menu(id, szVmenu, item) { if( item == MENU_EXIT ) { menu_destroy(szVmenu); return PLUGIN_HANDLED; } new data[6], iName[64]; new access, callback; menu_item_getinfo(szVmenu, item, access, data,5, iName, 63, callback); new key = str_to_num(data); switch(key) { case 1: GiveStuff(id); case 2: GiveUltimate(id); } menu_destroy(szVmenu); return PLUGIN_HANDLED; } //////////////////////////////////////////////////////Give Stuff.. public GiveStuff(id) { new szStuffOn = get_pcvar_num(furien_give_stuff); new szName[32]; get_user_name(id, szName, charsmax(szName)); if(!szStuffOn){ ColorChat(id, GREEN,"%s^x03 %s^x01 acest meniu este^x03 dezactivat.^x01", szPrefix, szName); return PLUGIN_HANDLED; } else { new szStuff = menu_create("\rVIP \dMenu:^n", "Show_Stuff_Menu"); menu_additem(szStuff, " \r255 \dAp+Hp", "1", 0); menu_additem(szStuff, " \dGodmode", "2", 0); menu_additem(szStuff, " \rNade \dPack", "3", 0); menu_setprop(szStuff, MPROP_EXIT, MEXIT_ALL); menu_display(id, szStuff, 0); } return PLUGIN_HANDLED; } //////////////////////////////////////////////////////Give Stuff SubMenu public Show_Stuff_Menu(id, szStuff, item) { if( item == MENU_EXIT ) { menu_destroy(szStuff); return PLUGIN_HANDLED; } new data[6], iName[64]; new szName[32]; get_user_name(id, szName, charsmax(szName)); new access, callback; menu_item_getinfo(szStuff, item, access, data,5, iName, 63, callback); new key = str_to_num(data); switch(key) { case 1: { g_bUsed[id] = true; set_user_health(id, 255); set_user_armor(id, 255); ColorChat(id, GREEN,"%s^x03 %s^x01 ai primit +155^x03 viata si armura.^x01", szPrefix, szName); } case 2: { g_bUsed[id] = true; set_user_godmode(id, 1); set_task(30.0, "Set_GodMode", id); ColorChat(id, GREEN,"%s^x03 %s^x01 ai primit godmode pentru^x03 30^x01 secunde.^x03", szPrefix, szName); } case 3: { g_bUsed[id] = true; give_item(id, "weapon_hegrenade"); give_item(id, "weapon_flashbang"); give_item(id, "weapon_smokegrenade"); ColorChat(id, GREEN,"%s^x03 %s^x01 ai primit^x03 nade pack.^x01", szPrefix, szName); } } menu_destroy(szStuff); return PLUGIN_HANDLED; } //////////////////////////////////////////////////////Set GodMode.. public Set_GodMode(id) { ColorChat(id, GREEN,"%s^x03 nu mai ai^x03 godmode.^x01", szPrefix); set_user_godmode(id, 0); remove_task(id); } //////////////////////////////////////////////////////Give Ultimate... public GiveUltimate(id) { new szUltimateOn = get_pcvar_num(furien_give_ultimate); new szName[32]; get_user_name(id, szName, charsmax(szName)); if(!szUltimateOn){ ColorChat(id, GREEN,"%s^x03 %s^x01 acest meniu este^x03 dezactivat.^x01", szPrefix, szName); return PLUGIN_HANDLED; } else { static CsTeams:szTeam; szTeam = cs_get_user_team(id); switch(szTeam) { case CS_TEAM_CT: { new szUlti = menu_create("\rUltimate \dMenu:^n", "Show_Ultimate_AntiFurien_Menu"); menu_additem(szUlti, " \dGolden Menu", "1", 0); menu_setprop(szUlti, MPROP_EXIT, MEXIT_ALL); menu_display(id, szUlti, 0); } case CS_TEAM_T: { new szUlti1 = menu_create("\rUltimate \dMenu:^n", "Show_Ultimate_Furien_Menu"); menu_additem(szUlti1, " \rOnion \dKnife", "1", 0); menu_additem(szUlti1, " \rLife \dSteal", "2", 0); menu_additem(szUlti1, " \rDrop \dWeapons", "3", 0); menu_setprop(szUlti1, MPROP_EXIT, MEXIT_ALL); menu_display(id, szUlti1, 0); } } } return PLUGIN_HANDLED; } //////////////////////////////////////////////////////Anti-Furien SubMenu public Show_Ultimate_Furien_Menu(id, szUlti1, item) { if( item == MENU_EXIT ) { menu_destroy(szUlti1); return PLUGIN_HANDLED; } new data[6], iName[64]; new szName[32]; get_user_name(id, szName, charsmax(szName)); new access, callback; menu_item_getinfo(szUlti1, item, access, data,5, iName, 63, callback); new key = str_to_num(data); switch(key) { case 1: { new szHealth = get_user_health(id); new szArmor = get_user_armor(id); give_item(id, "weapon_knife"); set_user_health(id, szHealth + 100); set_user_armor(id, szArmor + 100); set_pev(id, pev_viewmodel2, Onion_V); set_pev(id, pev_weaponmodel2, Knife_P); g_bOnion[id] = true; g_bUsed[id] = true; ColorChat(id, GREEN,"%s^x03 %s^x01 ai primit^x03 onion knife.^x01", szPrefix, szName); } case 2: { give_item(id, "weapon_knife"); g_bLifeSteal[id] = true; g_bUsed[id] = true; ColorChat(id, GREEN,"%s^x03 %s^x01 ai primit^x03 life steal.^x01", szPrefix, szName); } case 3: { give_item(id, "weapon_knife"); g_bDrop[id] = true; g_bUsed[id] = true; ColorChat(id, GREEN,"%s^x03 %s^x01 ai primit^x03 drop enemy weapons.^x01", szPrefix, szName); } } menu_destroy(szUlti1); return PLUGIN_HANDLED; } //////////////////////////////////////////////////////Furien SubMenu public Show_Ultimate_AntiFurien_Menu(id, szUlti, item) { if( item == MENU_EXIT ) { menu_destroy(szUlti); return PLUGIN_HANDLED; } new data[6], iName[64]; new szName[32]; get_user_name(id, szName, charsmax(szName)); new access, callback; menu_item_getinfo(szUlti, item, access, data,5, iName, 63, callback); new key = str_to_num(data); switch(key) { case 1: GoldMenu(id); } menu_destroy(szUlti); return PLUGIN_HANDLED; } //////////////////////////////////////////////////////Gold Menu public GoldMenu(id) { new szGold = menu_create("\rGold \dMenu:^n", "Show_Sub_GoldMenu"); menu_additem(szGold, "\yGold \dDeagle \r& \dM4A1", "1", 0); menu_additem(szGold, "\yGold \dDeagle \r& \dAk47", "2", 0); menu_setprop(szGold, MPROP_EXIT, MEXIT_ALL); menu_display(id, szGold, 0); } //////////////////////////////////////////////////////Gold SubMenu public Show_Sub_GoldMenu(id, szGold, item) { if( item == MENU_EXIT ) { menu_destroy(szGold); return PLUGIN_HANDLED; } new data[6], iName[64]; new szName[32]; get_user_name(id, szName, charsmax(szName)); new access, callback; menu_item_getinfo(szGold, item, access, data,5, iName, 63, callback); new key = str_to_num(data); switch(key) { case 1: { give_item(id, "weapon_m4a1"); give_item(id, "weapon_deagle"); cs_set_user_bpammo(id, CSW_AK47, 120); cs_set_user_bpammo(id, CSW_DEAGLE, 70); g_bGoldenM4a1[id] = true; g_bGoldenDeagle[id] = true; g_bUsed[id] = true; ColorChat(id, GREEN,"%s^x03 %s^x01 ai primit^x03 golden m4a1&deagle.^x01", szPrefix, szName); } case 2: { give_item(id, "weapon_ak47"); give_item(id, "weapon_deagle"); cs_set_user_bpammo(id, CSW_AK47, 120); cs_set_user_bpammo(id, CSW_DEAGLE, 70); g_bGoldenAk[id] = true; g_bGoldenDeagle[id] = true; g_bUsed[id] = true; ColorChat(id, GREEN,"%s^x03 %s^x01 ai primit^x03 golden ak47&deagle.^x01", szPrefix, szName); } } menu_destroy(szGold); return PLUGIN_HANDLED; } //////////////////////////////////////////////////////Current Weapon public CurWeapon(id) { new szWeapon = get_user_weapon(id); new szHealth = get_user_health(id); new szFlags = get_user_flags(id); static CsTeams:szTeam; szTeam = cs_get_user_team(id); if(szFlags & VIP_LEVEL) { if(szWeapon == CSW_KNIFE) { if(szHealth < 25) set_task(5.0, "Regeneration_HP",id, _, _, "b"); if(szTeam == CS_TEAM_CT) { set_pev(id, pev_maxspeed, 425.0); set_user_rendering(id, kRenderFxGlowShell, 0, 0, 0, kRenderTransAlpha, 68); } } else { if(szTeam == CS_TEAM_CT) { set_pev(id, pev_maxspeed, 250.0); set_user_rendering(id, _, 0, 0, 0, _, 0); } remove_task(id); } } return PLUGIN_HANDLED; } //////////////////////////////////////////////////////Current Weaponn public CurWeaponn(id) { new szWeapon = get_user_weapon(id); if(szWeapon == CSW_KNIFE) { if(szWeapon == CSW_KNIFE && g_bOnion[id] == true) { set_pev(id, pev_viewmodel2, Onion_V); set_pev(id, pev_weaponmodel2, Knife_P); } } if(szWeapon == CSW_AK47) { if(szWeapon == CSW_AK47 && g_bGoldenAk[id] == true) { set_pev(id, pev_viewmodel2, Golden_Ak_V); set_pev(id, pev_weaponmodel2, Golden_Ak_P); } } if(szWeapon == CSW_M4A1) { if(szWeapon == CSW_M4A1 && g_bGoldenM4a1[id] == true) { set_pev(id, pev_viewmodel2, Golden_M4a1_V); set_pev(id, pev_weaponmodel2, Golden_M4a1_P); } } if(szWeapon == CSW_DEAGLE) { if(szWeapon == CSW_DEAGLE && g_bGoldenDeagle[id] == true) { set_pev(id, pev_viewmodel2, Golden_Deagle_V); set_pev(id, pev_weaponmodel2, Golden_Deagle_P); } } return PLUGIN_HANDLED; } //////////////////////////////////////////////////////Regeneration public Regeneration_HP(id) { if(!is_user_alive(id) || is_user_bot(id)) return PLUGIN_HANDLED; new szHP_On = get_pcvar_num(furien_health_on); new szAddHP = get_pcvar_num(furien_health); new szHPMax = get_pcvar_num(furien_health_max); new szHP = get_user_health(id); new iRandom = random_num(0,255); if(!szHP_On) return PLUGIN_HANDLED; else { if(szHP >= szHPMax) { emit_sound(id,CHAN_VOICE, "fvox/medical_repaired.wav", 1.0, ATTN_NORM, 0, PITCH_NORM); remove_task(id); } else { set_user_health(id, szHP + szAddHP); set_hudmessage(iRandom, iRandom, iRandom, -1.0, 0.25, 1, 1.0, 2.0, 0.1, 0.1, 4); ShowSyncHudMsg(id, g_bHud, "%s^nViata ta se incarca pana la %d !", szPrefix, szHPMax); message_begin(MSG_ONE, get_user_msgid("ScreenFade"), {0,0,0}, id); write_short(1<<10); write_short(1<<10); write_short(0x0000); write_byte(0); write_byte(191); write_byte(255); write_byte(75); message_end(); } } return PLUGIN_HANDLED; } //////////////////////////////////////////////////////Sound Emit public sound_emit(id, channel, sample[]) { if(!is_user_alive(id) || is_user_bot(id)) return FMRES_SUPERCEDE; if(g_bOnion[id] && equal(sample, "weapons/knife_", 14)) { switch(sample[17]) { case('b'): { emit_sound(id, CHAN_WEAPON, "weapons/cbar_hitbod2.wav", 1.0, ATTN_NORM, 0, PITCH_NORM); } case('w'): { emit_sound(id, CHAN_WEAPON, "weapons/cbar_hitbod1.wav", 1.0, ATTN_NORM, 0, PITCH_LOW); } case('1', '2'): { emit_sound(id, CHAN_WEAPON, "weapons/bullet_hit2.wav", random_float(0.5, 1.0), ATTN_NORM, 0, PITCH_NORM); } } return FMRES_SUPERCEDE; } return FMRES_IGNORED; } //////////////////////////////////////////////////////Drop public Drop_Now(id) { new szTarget, szBody; new szNameId[32],szNameTrg[32]; get_user_name(id, szNameId, charsmax(szNameId)); get_user_name(szTarget, szNameTrg, charsmax(szNameTrg)); static Float:szStart[3]; static Float:szAim[3]; pev(id, pev_origin, szStart); fm_get_aim_origin(id, szAim); szStart[2] += 16.0; // raise szAim[2] += 16.0; // raise get_user_aiming ( id, szTarget, szBody, 5000 ); if(!is_user_alive(szTarget) || is_user_bot(szTarget) || get_user_team(szTarget) == 1) return PLUGIN_HANDLED; else { set_task(10.0, "UnDropFalse", id); ColorChat(0, GREEN,"%s^x03 %s^x01 a primit drop weapons de la^x03 %s^x01", szPrefix, szNameTrg, szNameId); drop(szTarget); } message_begin(MSG_BROADCAST,SVC_TEMPENTITY); write_byte(0); engfunc(EngFunc_WriteCoord,szStart[0]); engfunc(EngFunc_WriteCoord,szStart[1]); engfunc(EngFunc_WriteCoord,szStart[2]); engfunc(EngFunc_WriteCoord,szAim[0]); engfunc(EngFunc_WriteCoord,szAim[1]); engfunc(EngFunc_WriteCoord,szAim[2]); write_short(Drop_Texture); write_byte(0); write_byte(30); write_byte(20); write_byte(50); write_byte(50); write_byte(100); write_byte(100); write_byte(100); write_byte(100); write_byte(50); message_end(); return PLUGIN_HANDLED; } stock drop(id) { new szWeapons[32], iNum; get_user_weapons(id, szWeapons, iNum); for (new i = 0; i < iNum; i++) { if (WEAPONS & (1<<szWeapons)) { static szWname[32]; get_weaponname(szWeapons, szWname, charsmax(szWeapons)); engclient_cmd(id, "drop", szWname); } } } stock fm_get_aim_origin(index, Float:origin[3]) { new Float:szStart[3], Float:szView_Ofs[3]; pev(index, pev_origin, szStart); pev(index, pev_view_ofs, szView_Ofs); xs_vec_add(szStart, szView_Ofs, szStart); new Float:szDest[3]; pev(index, pev_v_angle, szDest); engfunc(EngFunc_MakeVectors, szDest); global_get(glb_v_forward, szDest); xs_vec_mul_scalar(szDest, 9999.0, szDest); xs_vec_add(szStart, szDest, szDest); engfunc(EngFunc_TraceLine, szStart, szDest, 0, index, 0); get_tr2(0, TR_vecEndPos, origin); return 1; } I want that the knife ( with onion model ) to give 150 damage not just 100 as it is now and the m4a1 gold has only 30 bullets i want to be 120 like ak gold has when i buy sk and then next round i buy sk frop this vip plugin and then change with grenade and then change it back knife it gives me the sk from previous round bought from shop not the onion from the vip menu bought from the current round Przeczytaj cały wpis
  3. Hello guys , i've been starting to use a jetpack plugin on my server which was approved in the past by you but there is only a single error that occurs. The plugin works perfectly during the day , all players use jetpack , it is fine , but after like 8-9 hours in a day this error occurs: L 03/27/2020 - 20:01:14: [AMXX] Displaying debug trace (plugin "jetpack.amxx") L 03/27/2020 - 20:01:14: [AMXX] Run time error 4: index out of bounds L 03/27/2020 - 20:01:14: [AMXX] [0] 2870.attach::CMD_Jetpack (line 159) When this bug occurs people cannot type jetpack anymore to use jetpack and it can be seen by others in chat typing : jetpack . Normally that doesn t happen since if you write jetpack correctly it turns jetpack on instantly(and you can't see someone typing jetpack in chat). So , i observed in gamepanel console that everytime a player types jetpack and he can't use it the error above appears . And meanwhile all other players who used it before can use it ( which i can't explain cuz others cannot) There are 2 more things that appear in the log but they don t matter that much cuz the one above is the real problem. These ones don t appear only really rare af and i want a solution for first issue which is more important i guess. L 03/27/2020 - 20:10:08: [AMXX] Run time error 4: index out of bounds L 03/27/2020 - 20:10:08: [AMXX] [0] 2870.attach::client_connect (line 66) or this one: L 03/27/2020 - 20:10:08: [AMXX] Run time error 4: index out of bounds L 03/27/2020 - 20:10:08: [AMXX] [0] 2870.attach::client_disconnect (line 57) Different lines but index out of bonds appears in all. Anyway , this is the plugin i took - https://forums.alliedmods.net/showthread.php?t=13339 I didn't modify the sma but i'll attach it here to be easier to look into . If you could help me fix this i would be really grateful , really really grateful since the whole mod bases on this jetpack :) ty very much just for looking into this if someone does . Have a nice daaay <3 Attached Files Get Plugin or Get Source (jetpack.sma - 8.2 KB) Przeczytaj cały wpis
  4. I tried with this code that I saw made of bugsy, it works well it shows all the CT players in the TERRORIST team on the scoreboard, but here comes the problem to the CT players it sets the TERRORIST model and it is what I don't want PHP Code: #include <amxmodx> public plugin_init() { register_message( get_user_msgid( "TeamInfo" ) , "TeamInfo" ); } public TeamInfo() { set_msg_arg_string( 2 , "TERRORIST" ); } Przeczytaj cały wpis
  5. Hey there, I hope everyone is going well and lock out of Covid virus :confused: :confused: Which gives you more time to somes CS 1.6 and fun :D :D Anyway, i'm trying since some time to cut & combine few plugins to make a CSDM VIP plugin, if anyone would help, i'll be really thankful! What i want: Snipers only for VIPs Bullet time in real time, in a new style +X HP For kill with cvar +X HP For HS kill with cvar Custom Max HP for VIPs No fall damage /vipmenu with the current items Start HP in spawn Start armor in spawn Custom Speed Custom Gravity Grenades Kit (all the grenades HE, FB, SG) Lower visibility You can use and combine these two plugins which have majority of the features in it, i have tried multiple times, but found myself screwing up codes each time :confused: :confused: https://forums.alliedmods.net/showthread.php?t=262237 https://forums.alliedmods.net/showthread.php?p=2158035 PS: VIP items should work 1 at once, which means the VIP can switch from 1 feature to another which will be changed in spawn, can't have both o_O Thanks in advance! Przeczytaj cały wpis
  6. Dump All Cmds Cvars (27.03.2020) Server console command: sm_dump_cmdscvars - This plugin dump all commands and console variables into txt file, addons/sourcemod/data folder. - Cmds and Cvars get dumb in each own txt file. - Plugin collect all commands and cvars, even SourceMod's and MetaMod:Source's. - Dump list is in random order, not alphabetical order. - Beware sharing txt files to others, it contain your passwords also. Here tiny example of output Commands List_Cmds_Engine_CSGO_2020-03-27.txt Code: "sm_print_telist" FCVAR_NONE - Prints the temp entity list "dz_shuffle_teams" FCVAR_GAMEDLL - Shuffle all teams for Danger Zone "sv_pure_checkvpk" FCVAR_NONE - CheckPureServerVPKFiles "user" FCVAR_NONE - Show user data. "users" FCVAR_NONE - Show user info for players on server. "ent_pause" FCVAR_GAMEDLL FCVAR_CHEAT - Toggles pausing of input/output message processing for entities. When turned on processing of all message will stop. Any messages displayed with 'ent_messages' will stop fading and be displayed indefinitely. To step through the messages one by one use ' CVARS List_ConVars_Engine_CSGO_2020-03-27.txt Code: "net_showevents" = "0" FCVAR_DEVELOPMENTONLY - Dump game events to console (1=client only, 2=all). "sv_voice_proximity" = "-1" FCVAR_GAMEDLL FCVAR_REPLICATED FCVAR_RELEASE "bot_autodifficulty_threshold_high" = "0.0" ( def. "5.0" ) min. -20.000000 max. 20.000000 FCVAR_GAMEDLL FCVAR_REPLICATED FCVAR_RELEASE - Upper bound above Average Human Contribution Score that a bot must be above to change its difficulty "cash_team_win_by_defusing_bomb" = "2700" ( def. "3250" ) FCVAR_GAMEDLL FCVAR_NOTIFY FCVAR_REPLICATED FCVAR_RELEASE "sv_guardian_refresh_ammo_for_items_on_waves" = "" FCVAR_GAMEDLL FCVAR_RELEASE - List of additional weapons to refill ammo on waves. "net_maxfragments" = "1200" min. 256.000000 max. 1200.000000 FCVAR_DEVELOPMENTONLY - Max fragment bytes per packet From here you can now (27.03.2020) see ready output txt files from counter-strike global offensive counter-strike source day of defeat source left 4 dead 2 team fortress 2 Installation: - Get and move "Dump All Cmds Cvars.smx" into plugins folder. - Use server console, remote control rcon or sm_rcon to execute command: sm_dump_cmdscvars - Go look files from ...addons/sourcemod/data [GitHub] Source file and compiled plugin Rant: Note! Use this plugin once and remove it from server, restart server. It is not recommend to leave active on public server. Plugin create lot of ConVar Handles and cannot close those, takes some memory. So use plugin for testing/dev purpose Credits: Two other plugin creators, I can't find those any more. Those are still in here forum somewhere. Wyświetl pełny artykuł
  7. Can anyone create a plugin that shows the number (Clips) and (Ammos) as a hudmessage? PHP Code: set_hudmessage(255, 0, 0, 0.01.0, 0.90, 0, 6.0, 12.0) show_hudmessage(id, "Hp:%i | Armor:%i | %i:%i Clip:%i / Ammo:%i",health,armor,minTimer,secTimer,clip,ammo) Przeczytaj cały wpis
  8. Hi, i'm new in the forum. I need somes plugins. The first plugin i need is for register, but i need that have three options, Register, Login and Enter without register. The second will be one for change de final sound of the round. That change the voice "Terrorist win" for other i want. The third, the options for give VIP member to the players, but they only have the slot reserved, without any other benefit. The fourth, to be able to put if it is VIP or ADMIN in the score window. For example: Terrorist___________________________________1 ____________50 NeWt_____________ADMIN_______DEAD________2___ ________50 The last thing i need is the option to see the ip of the players on the console. Sorry for my bad English, and i hope that anyone will can help me. Przeczytaj cały wpis
  9. Hello everyone! I am really interested in upgrading a HLDS with some interesting plugins for AMXX. Everything that i or the owner (buddy of mine) tried to install, except some stats plugin, didn't work. I am looking for one (or more) of the following: 1. a Weapon Mod that works for the current version of HL. Basically all players will get all the weapons with full ammo on respawn (or weapons/ammo that i selected through a config file: eg.: everyone plays only 9mmAR and they get full ammo and nades + longjump). 2. Damage Indicator (similar to the ones in CS1.6). Every time you deal damage to a player, it will show next to your crosshair. 3. Simple map voting 4. Gun Game? Preferably with integrated stats (wins, dmg dealt, weapon stats, can be mysql but prefer local storage) 5. slot reservation 6. @mailbox - a plugin that would allow players to send messages to the admins, even when the admins are not online. Such plugin would save the messages into a log file to be read later by someone with server access. Thank you very much for your help. I considered doing this since my buddy tells me the server is kinda full every night (32 players) and it would seem this is a much better option than CS servers :D Przeczytaj cały wpis
  10. MYGO.pl

    Infohud API

    Infohud API A call center where all hud-messages come together, currently people are using 17 different plugins with hudmessages all over the places. Using this it's all nicely shown under the radar, combined with a few functions. The idea, hud is seperated in 3 parts: PHP Code: Deathrun @ neonDragon.net SERVER INFO deathrun_simple - [15 / 32] - 15:31 Respawn active for 7seconds GLOBAL MSGS Freerun is active Speedtimer at 1min 30secs CUSTOM MSGS - The header is changeable with the cvar hudinfo_header " #Alliedmodders/n#MAP - [#PL / #MAXPL] - #TIMELEFT" There Hashtags are the ones available, and can be removed. You can choose what you use and show. - I've added a simple (and fast) example plugin of ways to use the Infohud API, containing killstreak, deathstreak, time alive, spawn protection and best player of the round. All the rest is in the code to see and use. Attached Files Get Plugin or Get Source (infohud_api.sma - 9.7 KB) Get Plugin or Get Source (infohud_example.sma - 5.1 KB) Przeczytaj cały wpis
  11. APRIL FOOLS Description: This plugin allows you to pull off a harmless April Fools joke on your players. It can log to either a flat file or MySQL database. You can also disable logging. It comes with many configurable options. ConVars: sm_af_enable - Enable the plugin? 0 = Disabled. 1 = Enabled(default). DEFAULT: 1 sm_af_log_type - How would you like to store the data? 0 = Disabled 1 = Flat File(default). 2 = MySQL. DEFAULT: 1 sm_af_log_path - Path to april-fools.log Must have sm_april_fools_log_type = 1 DEFAULT: logs/april-fools.log sm_af_mysql_database_name - The database name entry in databases.cfg if using sm_april_fools_log_type = 2 DEFAULT: april_fools sm_af_join_message - The April Fools message a player will see when they connect. DEFAULT: {default}You have connected as an {darkred}Admin{default}. Type {lightgreen}/acommands {default}for a list of commands. sm_af_command_name - The command to trigger the april fools message. DEFAULT: acommands sm_af_message - The message to display when someone triggers your command. DEFAULT:{green}APRIL FOOLS! XD sm_af_display_time - How many seconds after the player has connected should the message be displayed? DEFAULT: 16.0 sm_af_date_check - Enable the plugin to automatically activate/deactivate for the date/time you specify. DEFAULT: 1 sm_af_enable_date_timestamp - The date/time as a unix timestamp that you would like this plugin to begin working! Use http://epochconverter.com with your local time to get the correct time. DEFAULT: 1585713600 (Wednesday, April 1, 2020 12:00:00 AM GMT-04:00 DST) sm_af_disable_date_timestamp - The date/time as a unix timestamp that you would like this plugin to be disabled! DEFAULT: 1585800000 (Thursday, April 2, 2020 12:00:00 AM GMT-04:00 DST) Commands: sm_fools - Check how many players have been fooled! (Only works with MySQL "sm_af_log_type 2") sm_acommands - Triggers the april fools message! (Please note this command may be changed in cfg/sourcemod/april_fools.cfg by changing sm_af_command_name) How to enable this during a certain day? NOTE: Setting this will not cause the plugin to activate at the exact time set. However once it has reached the time on the next map change the plugin should be enabled. 1. Go to https://www.epochconverter.com/ 2. Set the date and time. 3. Change GMT to Local Time 4. Press Human date to Timestamp 5. Copy the numbers after Epoch timestamp: 6. Edit sm_af_enable_date_timestamp in april_fools.cfg 7. Repeat steps 1-5 and edit sm_af_disable_date_timestamp in april_fools.cfg to set the end date. **This plugin requires https://forums.alliedmods.net/showthread.php?t=247770 in order to compile. Attached Files april_fools_v1_0.zip (20.4 KB) Get Plugin or Get Source (april_fools.sp - 11.8 KB) april_fools.smx (16.4 KB) Wyświetl pełny artykuł
  12. With this code I can make every admin have a specific model, what I'm looking for is that it be by steam id nothing else, could anybody modify it? Thank you! Quote: /* Plugin generated by AMXX-Studio */ #include <amxmodx> #include <cstrike> #include <hamsandwich> #define PLUGIN "New Plug-In" #define VERSION "1.0" #define AUTHOR "author" #define FLAG ADMIN_CHAT public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) RegisterHam(Ham_Spawn,"player","FnHamSpawn",1 ) } public plugin_precache() { precache_model("models/player/ALILP-VIPT/ALILP-VIPT.mdl") precache_model("models/player/ALILP-VIP/ALILP-VIP.mdl") } public FnHamSpawn(id) { if(is_user_alive(id)) { if(get_user_flags(id) & FLAG) { if(cs_get_user_team(id) == CS_TEAM_CT) { cs_set_user_model(id,"ALILP-VIP") } else { cs_set_user_model(id,"ALILP-VIPT") } } } } Przeczytaj cały wpis
  13. Buenas tardes, estaría necesitando varios plugins que no encuentro por ningún lado. El primero sería el plugin para registrarse al entrar, pero que tenga tres opciones, Registrarse, Iniciar Sesión, Entrar sin registrarse. El siguiente sería uno para cambiar el sonido del final de la ronda, que en vez de decir "Terrorist win", pueda poner uno yo que diga lo que yo quiera. El tercero, es la opción de dar VIPS pero que solamente tengan slot reservado, sin ningún otro beneficio. El cuarto y último, poder poner si es VIP o ADMIN en la ventana del score. Ej: Player_____________________K(kills)_____M(mue rtes)__Ping NeWt_________ADMIN_________3___________2_____ ___54 Tenganme piedad, no se nada sobre progamación Wyświetl pełny artykuł
  14. - All vs All - Armor Clothes A plugin that provides (Rust game-like) armor clothes that reduces damage to chosen body parts. Simply open the menu with /clothes. Only available as all-vs-all gameplay because only 1 model and pev_body issues with bomb, defuse-kit. Error: (Couldn't attach the model.zip) The server encountered an internal error or misconfiguration and was unable to complete your request. http://www.upl.co/uploads/clothesmalev11585224735.zip Attached Files Get Plugin or Get Source (allvsall_clothes.sma - 11.7 KB) Przeczytaj cały wpis
  15. Hi .... I have a question There is an Attack type that sends 1 packet with 600 Byte size , and the server freeze for 15 seconds. 3 Packet Send 25 Byte = Refresh Server 75 Byte = Join The Server 600 Byte = server freez ! After this time, the server returns to normal. Sometimes with this error Connection Problem, Players Timed Out. protocol = Udp Src : Server ip Port : Server Port and cpu usage up to 100% I Can Fix this attack with firewall rules. Capture ( Wireshark) But I found that there many attack with [This Protocol]. I'm Want fix all this type of *Attack and This protocol. i have : proccescmd,kigen,dosprotect,good firewall for dos and ddos, this attack is send short packet (600 or 700 byte) Can You Help Me ? Game Cssv34 Przeczytaj cały wpis
  16. Hi .... I have a question There is an Attack type that sends 1 packet with 600 Byte size , and the server freeze for 15 seconds. 3 Packet Send 25 Byte = Refresh Server 75 Byte = Join The Server 600 Byte = server freez ! After this time, the server returns to normal. Sometimes with this error Connection Problem, Players Timed Out. protocol = Udp Src : Server ip Port : Server Port and cpu usage up to 100% I Can Fix this attack with firewall rules. Capture ( Wireshark) But I found that there many attack with [This Protocol]. I'm Want fix all this type of *Attack and This protocol. i have : proccescmd,kigen,dosprotect,good firewall for dos and ddos, this attack is send short packet (600 or 700 byte) Can You Help Me ? Game Cssv34 Przeczytaj cały wpis
  17. BoomPanel 3 is new kind of admin panel, with the big difference, where frontend is made with Vue.js, and sourcemod/SRCDS server runs as backend for the panel. For communication to server panel is using websockets. Not only that the panel is lightning fast, because the connection directly from client to server, it is also model/plugin based. So in short, any Sourcemod plugin developer easly is able to create their own page in this panel, as far as they understand simple html and javascript. The panel can be used to configure that particular plugin or to display any kind of data from the server almost real time. It fully supports Sourcemod admin flags, meaning you can have multiple admins in panel with different permissions. Socket (3.0.2): Socket extension for SourceMod [DEV] WebSocket Server - Direct connection between webbrowser and gameserver Download master branch and extract zip in your server Install needed requirements Edit file addons/sourcemod/configs/BoomPanel3/admins.cfg and add yourself as panel admin Test out if plugin loads up fine, if not, the edit convar bp_websocket_ip with the correct server IP If you want to change socket port, change convar bp_websocket_port (default 27021) Now you can install other plugins that do support BoomPanel3, and you can install BoomPanel3 web/PWA client and add your server in settings You can install the panel visiting https://boompanel.com/ and clicking on the right side of url About the panel - written in vue.js, made as an PWA app. Source code of panel is available over here https://github.com/boomix/BoomPanel-3-APP . Anyone feel free to submit pull-requests there. Mainly you will want to submit pull-requests for Plugins.vue , to add some kind of missing functionality. The panel without additional plugins is useless, because this is only core file. For developers here is test plugin https://github.com/boomix/BoomPanel-3-testpage , it shows up plugin main functionality to create simple page. The main idea is that you see how easy it is to create page for it. Recommended to download master branch :) Wyświetl pełny artykuł
  18. About: A proper Anti Rush plugin. Uses the Survivors map flow distance to accurately determine who's ahead/behind. Can slowdown a rushers running speed or teleport them back. Can teleport forward slackers who are lagging behind. Various options to customise. Supports translations. Thanks: KasperH - For the request. Lux and MasterMind420 for various ideas. Cvars: Saved to l4d_anti_rush.cfg in your servers \cfg\sourcemod\ folder. PHP Code: // 0=Plugin off, 1=Plugin on. l4d_anti_rush_allow "1" // Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all). l4d_anti_rush_modes "" // Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none). l4d_anti_rush_modes_off "" // Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together. l4d_anti_rush_modes_tog "0" // Minimum number of survivors before the function kicks in. Must be 3 or greater otherwise the lead/last and average cannot be detected. l4d_anti_rush_players "3" // 0.0=Off. How far behind someone can travel from the average distance before being teleported forward. l4d_anti_rush_range_last "3000.0" // 0.0=Off. How far forward someone can travel from the average distance before being teleported or slowed down. l4d_anti_rush_range_lead "3000.0" // Maximum speed someone can travel when being slowed down. l4d_anti_rush_slow "75.0" // 0=Off. 1=Print To Chat. 2=Hint Text. Display a message to someone rushing (only when slowdown type is enabled). l4d_anti_rush_text "1" // How often to print the message if enabled. l4d_anti_rush_time "10" // What to do with rushers. 1=Slowdown player speed when moving forward. 2=Teleport back to group. l4d_anti_rush_type "1" // Anti Rush plugin version. l4d_anti_rush_version Changes: Code: 1.0 (26-Mar-2020) - Initial Release. Requirements: Left 4 DHooks Direct Installation: Download the .zip and extract the files to their respective folders in your servers \addons\sourcemod\ folder. Current Translations: English (en). Attached Files l4d_anti_rush.zip (14.2 KB) Wyświetl pełny artykuł
  19. Hello, Can somebody make a plugin where only simon can make a line by pressing the +use button (e) anywhere in the map for jailbreak mod? The line should last for 15 seconds and also if simon type /line he should have menu where he can choose line colour! Instead of telling Ts to follow simon, simon can make a line to show them the path! Przeczytaj cały wpis
  20. MYGO.pl

    REQ vip glow

    Good evening, I need a glow plugin for those with flag vip. Red for terrorist and blue for counter. Thanks ! Przeczytaj cały wpis
  21. Good evening, I need a plugin, which will give automatically, but with a 0.5% chance to revive the vip when they are killed. With this plugin I have attached, those with vip can write / revive. Please change it to automatic revive, with a 0.5% chance if you can. Thank you ! PHP Code: #include <amxmodx> #include <hamsandwich> static const PLUGIN[] = "", VERSION[] = "1.0", AUTHOR[] = "scosmyn"; new count[33] = 0 public plugin_init() { register_plugin(PLUGIN,VERSION,AUTHOR); register_clcmd("say /revive","cmdRevive") register_logevent("round_start",2,"1=Round_Start"); } public round_start( ) { static i for(i = 1; i <= get_maxplayers(); i++) count = 0 } public cmdRevive(id) { if(count[id] == 3) { color(id,"!team[V.I.P REVIVE] !yAi folosit deja de 3 ori !grevive !yrunda viitoare poti accesa dinou!") return 1 } if(is_user_alive(id)) return 1 if(!(get_user_flags(id) & ADMIN_LEVEL_H)) { color(id,"!team[V.I.P REVIVE] !yNu ai acces la /revive , doar !gV.I.P-ul !yare acces!") return 1 } count[id]++ ExecuteHam(Ham_CS_RoundRespawn,id) return 0 } stock color( const id, const input[ ], any:... ) { new count = 1, players[ 32 ] static msg[ 191 ] vformat( msg, 190, input, 3 ) replace_all( msg, 190, "!g", "^4" ) //- verde replace_all( msg, 190, "!y", "^1" ) //- galben replace_all( msg, 190, "!team", "^3" ) //- echipa replace_all( msg, 190, "!n", "^0" ) //- normal 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
  22. Can someone make me plugin that will block terror from pickip up weapons, i have deathrun server and i want to block terror pickup weapon Przeczytaj cały wpis
  23. Commands: SR_MaxFrags (Max allowed frags above all players before their score is automatically reset.) SR_Announce (If on 1 tells everyone on the server when a player's score reset, if off only informs the attacker.) Attached Files HighScoreResetter.smx (5.3 KB) Get Plugin or Get Source (HighScoreResetter.sp - 2.4 KB) Wyświetl pełny artykuł
  24. Description: It's a plugin only for zombie plague cso servers say /info <player name> INC Needed: colorchat.inc | buymenun.inc Cvars: No cvars needed Intalation Code: 1. Put zp_info_player.amxx in cstrike/addons/amxmodx/plugins 2. Go to cstrike/addons/amxmodx/configs/plugins.ini and add name under CUSTOM 3RD PARTY PLUGINS as zp_info_player.amxx Changelog: Code: First release v1.0 Attached Files Get Plugin or Get Source (zp_info_player.sma - 2.8 KB) zp50_colorchat.inc (2.6 KB) zp_buymenu.inc (513 Bytes) Przeczytaj cały wpis
  25. I'm looking for a experienced coder for the private requests in exchange for money. Przeczytaj cały wpis
×
×
  • Dodaj nową pozycję...