AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   Custom Round Admin menu 1 click solution? Please help (https://forums.alliedmods.net/showthread.php?t=321783)

Sandervraun 02-29-2020 08:05

Custom Round Admin menu 1 click solution? Please help
 
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?:oops::oops::oops::oops:

LuqS 03-01-2020 07:02

Re: Custom Round Admin menu 1 click solution? Please help
 
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.

Sandervraun 05-29-2020 03:02

Re: Custom Round Admin menu 1 click solution? Please help
 
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. :D

pribekerik 05-29-2020 04:31

Re: Custom Round Admin menu 1 click solution? Please help
 
https://github.com/SomethingFromSomewhere/Custom-Rounds

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


All times are GMT -4. The time now is 09:46.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.