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

Help with admin menu


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DJT
Member
Join Date: May 2013
Old 01-21-2014 , 14:29   Help with admin menu
Reply With Quote #1

Hi,

Im trying to create an admin menu for this command in Team Fortress 2
This is a hud command with a token for time"
sm_hudsay "255:255:255" "skjahglaskjghagkjsldhashal{TIME}" 200


So here's what i created and its now working please help.

"Commands"
{
"PlayerCommands"
{
"Hudsay"
{
"cmd" sm_hudsay "#1" "\n #2 \n\n #3 \n\n #4 \n\n\n\n\n\n\n\n\n\n {TIME}" #5
"admin" "sm_slay"
"execute" "player"
"1"
{
"type" "list"
"title" "Color"
"1" "255:0:0"
"1." "Red"

"2" "0:0:255"
"2." "Blue"

"3" "0:255:0"
"3." "Green"
}
"2"
{
"type" "list"
"title" "Event"
"1" "SPYCRAB NOW"
"1." "Raffle"

"2" "ADMIN BATTLE"
"2." "Admin Battle"

"3" "SPYCRAB"
"3." "Spycrab"
}
"3"
{
"type" "list"
"title" "Item Win"
"1" "SERVER CMD"
"1." "SERVER CMD"

"2" "SHIT"
"2." "SHIT"

"3" "LOVE"
"3." "LOVE"
}
"4"
{
"type" "list"
"title" "Host"
"1" "DJT"
"1." "DJT"

"2" "John"
"2." "John"

"3" "An Admin"
"3." "An Admin"
}
"5"
{
"type" "list"
"title" "Time Executed in Sec"
"1" "120"
"1." "120"

"2" "220"
"2." "220"

"3" "540"
"3." "540"
}
}
}
}




Now i know the problem but its hard to explain the cmd at the top when this hudsay plugin was coded for me the plugin can't start with a ( " ) or it gives me an error. so how would i start the

"cmd" sm_hudsay "#1" "\n #2 \n\n #3 \n\n #4 \n\n\n\n\n\n\n\n\n\n {TIME}" #5

With trying to have the code in a block without { <--- because its used for a token and ( " ) <--- cuz its don't work.
DJT is offline
DJT
Member
Join Date: May 2013
Old 01-21-2014 , 16:54   Re: Help with admin menu
Reply With Quote #2

Anyone??? i gess i could pay for services ? just a bit
DJT is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 01-21-2014 , 23:30   Re: Help with admin menu
Reply With Quote #3

Spoiler

haven't tested
Bacardi is offline
DJT
Member
Join Date: May 2013
Old 01-22-2014 , 18:42   Re: Help with admin menu
Reply With Quote #4

Great! well that somewhat worked. The sub menus pop up and the wording but the command just dosnt execute. It's gives the call back as how u need to fix it.

This is how i have to type it into the console. Has to be this (Look carefully)

sm_hudsay "255:255:255" "my txts {TIME}" 60

so. The menus work but not the command Help ?
DJT is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 01-22-2014 , 23:49   Re: Help with admin menu
Reply With Quote #5

Spoiler
Bacardi is offline
DJT
Member
Join Date: May 2013
Old 01-28-2014 , 18:58   Re: Help with admin menu
Reply With Quote #6

Well, It didn't work add me on steam... We can try to fix this together. DJT is the main url
DJT 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 11:22.


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