AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Connection Sound (https://forums.alliedmods.net/showthread.php?t=64165)

Peg 12-09-2007 16:05

Connection Sound
 
Hello!
I need a plugin whitch will have funtcion like CONNECTION SOUND to mkcs.wav Location sound/misc/mkcs.wav

mkcs.wav >>> 16 bits, 352 kb/s 22 kHz

Plz do it for me :)

Drak 12-09-2007 19:37

Re: Connection Sound
 
Code:
#include <amxmodx> #define PLUGIN "Connect Sound" #define VERSION "1.0" #define AUTHOR "Drak" public plugin_init() {     register_plugin(PLUGIN, VERSION, AUTHOR). } public client_connect(id) {     client_cmd(id,"spk sound/misc/mkcs.wav"); }
?

Peg 12-10-2007 10:11

Re: Connection Sound
 
2 errors :(

Welcome to the AMX Mod X 1.76-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

/home/groups/amxmodx/tmp3/textwFkWJw.sma(9) : error 001: expected token: ";", but found "."
/home/groups/amxmodx/tmp3/textwFkWJw.sma(9) : error 029: invalid expression, assumed zero

2 Errors.
Could not locate output file /home/groups/amxmodx/public_html/websc3/textwFkWJw.amx (compile failed).

[ --<-@ ] Black Rose 12-10-2007 10:20

Re: Connection Sound
 
Code:
#include <amxmodx> public plugin_init()     register_plugin("", "", ""); public client_connect(id)     client_cmd(id,"spk misc/mkcs"); public plugin_precace(id)     precache_sound("spk misc/mkcs");


All times are GMT -4. The time now is 10:59.

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