Raised This Month: $ Target: $400
 0% 

sounds


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 05-21-2005 , 23:28  
Reply With Quote #2

Code:
#include <amxmodx> public plugin_init() {     register_plugin("Chat sounds","0.1","v3x")     register_clcmd("say","handle_say",-1) } public plugin_precache(id) {     precache_sound("misc/gtg.wav") // EDIT THIS } public handle_say(id) {     new message[164]     read_args(message,163)     if(equali(message,"gtg")) {         client_cmd(0,"spk misc/gtg.wav") // EDIT THIS     }     return PLUGIN_CONTINUE }

And if you wanted more than 1..

Code:
#include <amxmodx> public plugin_init() {     register_plugin("Chat sounds","0.1","v3x")     register_clcmd("say","handle_say",-1) } public plugin_precache() {     precache_sound("misc/gtg.wav") // EDIT THIS - 1     precache_sound("misc/brb.wav") // EDIT THIS - 2 } public handle_say(id) {     new message[164]     read_args(message,163)     if(equali(message,"gtg")) {         client_cmd(0,"spk misc/gtg.wav") // EDIT THIS - 1     }     if(equali(message,"brb")) {         client_cmd(0,"spk misc/brb.wav") // EDIT THIS - 2     }     return PLUGIN_CONTINUE }
And so on..
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
 



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 16:42.


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