Jump to content
GIGN Forum

Server Sounds!


Recommended Posts

#include <amxmisc>

new g_szSounds[][] =

{

"misc/sounda_nosaukums1.wav",

"misc/sounda_nosaukums2.wav"

}

public plugin_precache()

{

for ( new i; i < sizeof g_szSounds; i++ )

{

precache_sound( g_szSounds[ i ] );

}

}

public plugin_init()

{

register_plugin( "dziesma/skanja rounda sakuma", "0.1", "ngEAr" );

register_logevent( "roundstart", 2, "1=Round_Start" );

}

public roundstart ()

{

client_cmd( 0, "spk %s", g_szSounds[ random_num( 0, sizeof g_szSounds - 1 ) ] );

}

Ieksh gzsounds vari ierakstit visus soundus un vinsh katra rounda pec randoma to laidis.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...