AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   n00b question:) (https://forums.alliedmods.net/showthread.php?t=3159)

blaah 06-28-2004 08:00

n00b question:)
 
hi,
how can i play a custom *.wav-sound instead of "spk barney/youtalkmuch"? :(

kingpin 06-28-2004 08:01

please search for this this has been discussed a few times on this board. I would like to answer this but the post would be huge so lol just search.

blaah 06-28-2004 08:37

hm i found this http://forums.alliedmods.net/showthread.php?t=198
changing this sounds seems to be difficult.. :(
wouldn't it maybe be possible to play sounds to a client with an plugin like psychosounds?

[shadow pros] 06-28-2004 18:01

well what i did when i was pissing aboiut with windows pinball was just to make a wav and then name it to the wav u want, if that works i dont know but theres a idea u may want to try

blaah 06-28-2004 18:34

well, i did it with psychosounds, this works fine now.
do you know how to change a players name?

i want to make an swearfilter plugin, that shows a modt with some warnings and rules, replaces the bad words by other things and plays an soundfile if someone writes some bad words.
if a he wrote 3 times some bad words he should be renamed,.. 8)

kingpin 06-28-2004 18:37

atac has similar features. search for it or look thru plugins section.

[shadow pros] 06-28-2004 18:37

consult the old hello word plugin and check some stuffs on amx (the origian) theres some guide i think johhny got his gun made that are good, another thing u could do i s look at some already made plugins and lear how they work. good luck

blaah 06-28-2004 19:30

Yeeha!
set_user_info(id,"name",var)
thats it! i found it in an old amx plugin called amx_nameban.

well, i want to write my own plugins because i want to learn more about writing plugins,... learning by doing :)

i usually just code php, javascript or vb..

its hard to learn coding plugins for amx, because there seems to be no documentation to see the commands like this one above to rename people..


All times are GMT -4. The time now is 14:44.

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