Raised This Month: $ Target: $400
 0% 

REALLY NEED HELP!!!!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
|-Goku-|
New Member
Join Date: Jul 2004
Old 07-06-2004 , 22:36   REALLY NEED HELP!!!!
Reply With Quote #1

Hi thanks for looking at my thread...I have never done any scripting whatso ever so I need some help on what to do...
I currently Use Psychosounds on my Counter-strike 1.6 server running AMXX. And I want people to be able to see what the trigger words are. IE..When they type /sound it brings up a list of the trigger words. I really have no idea how to do this so if anyone could help me out that would be great.. Thank you


|-Goku-|
|-Goku-| is offline
Send a message via AIM to |-Goku-| Send a message via MSN to |-Goku-|
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 07-06-2004 , 23:59  
Reply With Quote #2

I have done this in a my own personal version of psychosounds for AMX

Heres what I did..

in plugin_init

Code:
    register_clcmd("say /sounds", "motd_sounds",0," - Shows Loaded Sound Triggers");

anywhere else

Code:
public motd_sounds(id) {     new message[1024], len;     new line[256]; #if !defined NO_STEAM     len += copy( message[len] , 1023 - len, "<html><head><style type=^"text/css^">pre{color:#FFB000;}body{background:#000000;margin-left:8px;margin-top:0px;}</style></head><body><pre>") #endif     for (new i = 0; i < word_count; i++) {         format(line, 255, "%-30s ", words[i]);         if ( i + 1 < word_count ) {             i++;             add(line, 255, words[i]);             add(line, 255, " ");         }         len += copy( message[len], 1023 - len,line);     len += copy( message[len], 1023 - len,"^n");     }     #if !defined NO_STEAM     len += copy( message[len] , 1023 - len, "</pre></body></html>") #endif     show_motd(id, message, "Sound Triggers") }
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
|-Goku-|
New Member
Join Date: Jul 2004
Old 07-07-2004 , 00:42  
Reply With Quote #3

so where am I putting this??
One says Plugin_init
and the other says anywhere else so is this going in the psychsounds.sma?
|-Goku-| is offline
Send a message via AIM to |-Goku-| Send a message via MSN to |-Goku-|
|2ob
Senior Member
Join Date: Mar 2004
Location: Ontario, Canada
Old 07-07-2004 , 00:56  
Reply With Quote #4

you add them both, they are the same thing only /sound code is the trigger for the bottom code.
__________________
24/7 Custom Maps Vitrus | Style by www.WebGZ.net
64.247.24.125:27015

Visit Vitrus's Clan Site!

I would put more, but they have a limit on chars
|2ob is offline
Send a message via AIM to |2ob Send a message via MSN to |2ob
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 14:40.


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