Raised This Month: $60 Target: $400
 15% 

Custom Round Admin menu 1 click solution? Please help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Sandervraun
Senior Member
Join Date: May 2019
Old 02-29-2020 , 08:05   Custom Round Admin menu 1 click solution? Please help
Reply With Quote #1

Hello! I want to create a function in my admin menu, where I press 1 thing, and it makes a custom round. Once round is over.. Everything goes back to normal.


I tried the following inside a .cfg file, but no luck.

mp_buytime 0
sm_disarm @all
sm_hp @all 250
sm_give @all awp
sm_give @all knife

I tried adding it into the admin menu with the following adminmenu_sorting.txt file, yet again with no luck.

"Custom Rounds"
{
"item" "Custom Awp Round"
"item" "sm_execcfg"
"item" "sm_reloadadmins"
}


Any ideas out there?
Sandervraun is offline
LuqS
Member
Join Date: Jun 2019
Location: Israel
Old 03-01-2020 , 07:02   Re: Custom Round Admin menu 1 click solution? Please help
Reply With Quote #2

Hey Sandervraun,

Adding commands to a config file wont help with what you are trying to do since the config file only executes when the map starts.

You can make a plugin that executes the config file every round, but i wouldn't recommend this. (It will spam the chat and its not allegiant)

Instead, make a plugin that does this every round start

I can help you with the plugin if you need.
__________________
Taking free (small) plugin requests and Paid (Big) requests.

Contact me:
LuqS is offline
Sandervraun
Senior Member
Join Date: May 2019
Old 05-29-2020 , 03:02   Re: Custom Round Admin menu 1 click solution? Please help
Reply With Quote #3

The plugin was only meant to if I EX typed !AWP in chat, then the round would only be "ONLY AWP" Round. Nobody could buy anything in the zones. for !AWP250 which is a round with only awp & 250 hp.
Sandervraun is offline
pribekerik
AlliedModders Donor
Join Date: Apr 2018
Old 05-29-2020 , 04:31   Re: Custom Round Admin menu 1 click solution? Please help
Reply With Quote #4

https://github.com/SomethingFromSomewhere/Custom-Rounds

"CustomRounds"
{
"AWP + 250HP"
{
"Weapons"
{
"give" "weapon_awp"
"give" "weapon_knife"
}
"hp" "250"
"no_buy" "1"
"clear_weapon" "1"
}
}
pribekerik is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:01.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode