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

player_say ma_play sound question


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
glay
New Member
Join Date: Oct 2005
Old 08-01-2005 , 00:40   player_say ma_play sound question
Reply With Quote #1

How can I make that people heard a sound when they type regular command word on player_say.cfg?

And what kind of command word do I have to add when I want to playoff all kind of sound?

For example I want to turn of all kind of sound when I do soundoff .

Please explain with add contents of player_say.

I will append my player_say file.I'll wating for your reply.

Have a nice day.





my player_say.cfg

if (event_var(text) equalto "!help") then es_xtell event_var(userid) #lightgreen "!시체꺼져 !시체나와 !부드럽게 !원래대로 !비그만 !비나와 !추워요 !염장송 !인생은 settings"
if (event_var(text) equalto "!추워요") then ma_cexec event_var(userid) ma_play cold
if (event_var(text) equalto "!염장송") then ma_cexec event_var(userid) ma_play love
if (event_var(text) equalto "!인생은") then ma_cexec event_var(userid) ma_play life
glay is offline
glay
New Member
Join Date: Oct 2005
Old 08-01-2005 , 05:19   question~!~~!
Reply With Quote #2

Can you check my file(play_say.cfg) and if I want to let people listen who
typed the command how should I type for them??
Also what should I type if I want to off the whole sound??
Please describe with some examples tanks~~~
glay is offline
[TGC]spin
Senior Member
Join Date: Dec 2004
Old 08-01-2005 , 09:07  
Reply With Quote #3

I have these in my player_say and they work, you can change the text to suit your needs!


if (event_var(text) equalto "timeleft") then ma_cexec event_var(userid) ma_play 19
if (event_var(text) equalto "nextmap") then ma_cexec event_var(userid) ma_play 19
if (event_var(text) equalto "thetime") then ma_cexec event_var(userid) ma_play 19


Regards

Spin
__________________
[TGC]spin is offline
glay
New Member
Join Date: Oct 2005
Old 08-02-2005 , 05:44   nono~!
Reply With Quote #4

How can I make the user who types "!cold" on the Chatting Box
can hear the sound.
Please, edit my file of player_say.cfg to make it possible.
and I will give you my thanks...


my player_say.cfg code
if (event_var(text) equalto "!cold") then event_var(userid) ma_play cold
glay is offline
ichthys
Veteran Member
Join Date: Dec 2004
Location: []*[]
Old 08-02-2005 , 19:44   Re: nono~!
Reply With Quote #5

Quote:
Originally Posted by Glay
How can I make the user who types "!cold" on the Chatting Box
can hear the sound.
Please, edit my file of player_say.cfg to make it possible.
and I will give you my thanks...


my player_say.cfg code
if (event_var(text) equalto "!cold") then event_var(userid) ma_play cold
you missing es_cexec, the command to execute the command on the client!
Quote:
if (event_var(text) equalto "!cold") then es_cexec event_var(userid) ma_play cold
__________________
ichthys 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 14:54.


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