Jump to content

? servers

? players online

R3TROATTACK

Banned
  • Posts

    1396
  • Joined

  • Last visited

Everything posted by R3TROATTACK

  1. Probably something I did without noticing due to @ being the admin all chat chat shortcut xd @Extreme Potatoes
  2. The whole map works fine to me up to lvl 80(aka where the map switched on me) besides one level that we removed due to it crashing the server way back
  3. Can we get mp_ignore_round_win_conditions set to 1 on 100 traps since most people(including me) in under 40 minutes(totally not triggered because the round just reset and made me not get a time qq)
  4. Well I get a reason to double post now Last night before making the post above I was already planning on fixing the command to work with csgo so here you go https://forums.alliedmods.net/showthread.php?p=2515303#post2515303 @Mad Dogg @whimsy
  5. Currently the way sourcemod uses the sm_play command is through a console command called "playgamesound", which in css worked with custom sounds sadly in csgo it doesn't unless you do snd_rebuildaudiocache which isn't something the server can force clients to do anyways.
  6. @SpikedRocker that commit was submitted last year, and I'm pretty sure it has been since removed since I can't find it anywhere on the sourcebans++ github
  7. But I already won no need for other people to try entering xd
  8. If you guys actually use this you can't change the text/commands or I will be very sad #pragma semicolon 1 #define PLUGIN_AUTHOR "R3TROATTACK" #define PLUGIN_VERSION "1.0" #include #include #pragma newdecls required EngineVersion g_Game; public Plugin myinfo = { name = "I'm too lazy to use already made features", author = PLUGIN_AUTHOR, description = "The plugins for lazy people by lazier people", version = PLUGIN_VERSION, url = "www.go-fuck-yourself.com" }; #define BuyDelay 10.0 #define RefillAmmoAmount 1000 #define GiveKevlarHelmet 1 // 1 == yes 0 == no #define KevlarRefillAmount 100 float g_fLastBuy[MAXPLAYERS + 1]; public void OnPluginStart() { g_Game = GetEngineVersion(); if(g_Game != Engine_CSGO && g_Game != Engine_CSS) { SetFailState("This plugin is for CSGO/CSS only."); } RegConsoleCmd("sm_moreammopls", Command_ImTooLazyToUseZmarket); RegConsoleCmd("sm_morekevlarpls", Command_ImTooLazyToUseZmarketStill); } public void OnClientPostAdminCheck(int client) { g_fLastBuy[client] = GetGameTime(); } public void OnClientDisconnect(int client) { g_fLastBuy[client] = GetGameTime(); } public Action Command_ImTooLazyToUseZmarket(int client, int args) { if(!IsClientInGame(client)) return Plugin_Handled; if(GetGameTime() - g_fLastBuy[client] { PrintToChat(client, " \x06[Lazy People Are Best] \x01You can rebuy armor/kevlar in \x10%0.2f \x01seconds", BuyDelay - (GetGameTime() - g_fLastBuy[client])); return Plugin_Handled; } int weapon = GetEntPropEnt(client, Prop_Send, "m_hActiveWeapon"); if(weapon == -1) { PrintToChat(client, "\x06[Lazy People Are Best] \x01Use a weapon dumb fuck"); return Plugin_Handled; } char sClass[128]; GetEntityClassname(weapon, sClass, sizeof(sClass)); if(StrContains(sClass, "weapon_knife", false) != -1 || StrContains(sClass, "grenade", false)) { PrintToChat(client, "\x06[Lazy People Are Best] \x01Your weapon's ammo cant be changed'"); return Plugin_Handled; } SetEntProp(weapon, Prop_Send, "m_iClip2", RefillAmmoAmount); PrintToChat(client, " \x06[Lazy People Are Best] \x01Your weapon's spare ammo has been set to %i", RefillAmmoAmount); return Plugin_Handled; } public Action Command_ImTooLazyToUseZmarketStill(int client, int args) { if(!IsClientInGame(client)) return Plugin_Handled; if(GetGameTime() - g_fLastBuy[client] { PrintToChat(client, " \x06[Lazy People Are Best] \x01You can rebuy armor/kevlar in \x10%0.2f \x01seconds", BuyDelay - (GetGameTime() - g_fLastBuy[client])); return Plugin_Handled; } SetEntProp(client, Prop_Send, "m_ArmorValue", KevlarRefillAmount); SetEntProp(client, Prop_Send, "m_bHasHelmet", GiveKevlarHelmet); PrintToChat(client, " \x06[Lazy People Are Best] \x01Your kevlar has been set to %i.", KevlarRefillAmount); return Plugin_Handled; } It should work but m_iClip2 has always been weird for me or I'm supposed to be using another net_prop but fuck that too much logic stuff needed Edit: Punky told me yall didn't mean rebuy WHEN YOU SAID REBUY so now i feel dumb cause i'm 2 lazy 2 read and comprehend posts xd Edit dos:Here is what I was told you actually wanted #pragma semicolon 1 #define PLUGIN_AUTHOR "R3TROATTACK" #define PLUGIN_VERSION "1.0" #include #include #include #pragma newdecls required public Plugin myinfo = { name = "I'm too lazy to use already made features", author = PLUGIN_AUTHOR, description = "The plugins for lazy people by lazier people", version = PLUGIN_VERSION, url = "www.go-fuck-yourself.com" }; char g_sLazyArms[][] = { "weapon_usp_silencer", "weapon_glock", "weapon_hkp2000", "weapon_tec9", "weapon_revolver", "weapon_p250", "weapon_cz75a", "weapon_fiveseven", "weapon_elite", "weapon_deagle" }; StringMap g_hLazyMap = null; public void OnPluginStart() { g_hLazyMap = new StringMap(); } public void OnMapStart() { g_hLazyMap.Clear(); LoadKeyValues(); } public void OnClientSayCommand_Post(int client, const char[] command, const char[] sArgs) { if(!IsClientInGame(client)) return; char sBuffer[128]; if(g_hLazyMap.GetString(sArgs, sBuffer, sizeof(sBuffer))) EquipWeapon(client, sBuffer); } void EquipWeapon(int client, const char[] sWeapon) { int weapon = GetEntPropEnt(client, Prop_Send, "m_hActiveWeapon"); if(IsWeaponSecondary(sWeapon)) { CS_DropWeapon(client, CS_SLOT_SECONDARY, false); AcceptEntityInput(weapon, "kill"); weapon = GivePlayerItem(client, sWeapon); EquipPlayerWeapon(client, weapon); } else { CS_DropWeapon(client, CS_SLOT_PRIMARY, false); AcceptEntityInput(weapon, "kill"); weapon = GivePlayerItem(client, sWeapon); EquipPlayerWeapon(client, weapon); } } bool IsWeaponSecondary(const char[] sWeapon) { for (int i = 0; i { if(StrEqual(sWeapon, g_sLazyArms[i], true)) return true; } return false; } void LoadKeyValues() { char sPath[512]; BuildPath(Path_SM, sPath, sizeof(sPath), "configs/lazypeoplearedumb.cfg"); if(!FileExists(sPath)) SetFailState("[LazyPeople] Could find file \"lazypeoplearedumb.cfg\" at path \"%s\"", sPath); KeyValues kv = new KeyValues("ZmarketIsHard"); kv.ImportFromFile(sPath); if (!kv.GotoFirstSubKey()) { delete kv; SetFailState("ERROR: No KeyValues were found inside \"%s\", unloading", sPath); } do{ char sBuffer[128], sClassname[128]; kv.GetSectionName(sBuffer, sizeof(sBuffer)); kv.GetString("weapon", sClassname, sizeof(sClassname)); if(StrContains(sClassname, "weapon_", true) != -1 && !StrEqual(sClassname, "weapon_taser")) g_hLazyMap.SetString(sBuffer, sClassname, true); } while (kv.GotoNextKey()); delete kv; } KeyValue file for config folder "ZmarketIsHard" { "!thisiseasierthenzmarketwithnumbers" { "weapon" "weapon_negev" } } If anyone actually cares to test/fix the broken stuff in this cause I dont @Punky but theoretically it does work xd
  9. Did I do good @Leon Mordecai Title: Tacos
  10. Awards

    i prefer this one over the other was since the gradient isn't aids
  11. Awards

    @Bread I think we all can agree this new outstanding member award is terrible compared to the old one.
  12. flare = matchbox g_iCredits-- = lose 1 credit g_iFlare += 3 = add 3 to current amount of matches(most likely 0) Sooo you get 3 matches per credit xd
  13. Tbh I think the reason that the matchbox isn't as used as much is people don't know how to use it lol @FLuiD
  14. If you are referring to the console commands no they don't work but the code removing it from the menu does xd
  15. That cfg was for an old temp fix xd
  16. Staminia affects jumping not velocity iirc
  17. I have no idea what you are talking about xd
  18. I shall make the best list here @Nuclear Onion weeb cunt @Black Rain dumb cunt @Pan32 foreign cunt @Crazy Swede swedish cunt @Prez sorry cunt @SilentGuns drunk cunt @Motox duder cunt @bethy alice cunt @Bread quiet cunt @Wooper memer cunt @arottenpickle annoying cunt @SpikedRocker old cunt @Stunningjam british cunt @Octa octa cunt(that is 8x the cunt) and all the forgotten people you guys are cunts too.
  19. Umm you should still be getting points they just don't appear in game chat you have to go to the stats page to see it now.
  20. Go into console while on the server and type "sm plugins"
  21. Afaik detectives don't insta defuse C4s and this item doesn't sound like it's worth it to make.
  22. @Frostbitten your ca again I thought we learned our lesson last time @Mad Dogg took you long enough @GhostTitanium what have we done
  23. Time to learn how to bhop on css again
×
×
  • Create New...