Raised This Month: $12 Target: $400
 3% 

Admin menu help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
barvica
Senior Member
Join Date: Oct 2014
Old 08-22-2015 , 13:40   Admin menu help
Reply With Quote #1

So there is command mp_teammates_are_enemies, and I want it to have in Admin menu but idk how can i attach it to admin menu.

For my mod i want to turn zombie mod on and off so others mods and admins can use it but idk how would i do that.

My adminmenu_custom.txt:

"Commands"
{
"Zombie"
{
"Zombie Dan"
{
"Prizgi"
{
"cmd" "mp_teammates_are_enemies_1"
}
"Ugasni"
{
"cmd" "mp_teammates_are_enemies_0"
}
}
}
}

Last edited by barvica; 08-22-2015 at 13:41.
barvica is offline
hamilton5
Veteran Member
Join Date: Oct 2012
Location: USA
Old 08-22-2015 , 21:05   Re: Admin menu help
Reply With Quote #2

https://wiki.alliedmods.net/Custom_A...28SourceMod%29


you need an 'onoff', look at the examples below on the wiki.
hamilton5 is offline
Reply



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 10:48.


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