Raised This Month: $32 Target: $400
 8% 

Help with custom admin menu


Post New Thread Reply   
 
Thread Tools Display Modes
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 06-23-2014 , 06:29   Re: Help with custom admin menu
Reply With Quote #11

Quote:
Originally Posted by fruitrollup View Post
Is that code actually right? Can you do that and test it or something please? I don't understand why you put forward slash in some place and then back slash in another...
https://wiki.alliedmods.net/Custom_A...28SourceMod%29
Rant:
NB: You can use \ as an escape character. So \" will let you add quotes to your strings.


Quote:
Originally Posted by fruitrollup View Post
Also, what about for other commands, like;
Code:
			"cmd"			"sm_play @all \"sounds/respect.mp3\" ;sm_kick #1"
Code:
			"cmd"			"sm_play @all \"sounds/respect.mp3\" ;sm_slay #1"
fixed
yes

but we neened change order when using sm_ban (or sm_kick) because those accepts kick message
sm_ban <target> <duration> <message>
sm_kick <target> <message>


Otherwise it look like this on target view when commands are wrong order.
Attached Images
File Type: jpg msg.jpg (33.4 KB, 110 views)
Bacardi 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 21:42.


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