Jump to content
GIGN Forum

Server Sounds!


Recommended Posts

Oh fuck man radas jautājums wtf?

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

dziesma-->kas tur jaliek misc vai kas?

skanja raunda sakuma dziesmas nosaukums?

un vai nepateiksi kas tas beigas ngEAr-->zinu kad tavs niks bet ko tas dod?

Link to comment
Share on other sites

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" );

}

Redzi funkciju g_zsounds , tur tada veida jaieraksta dziesmas vai skanjas nosaukumus. Neaizmirsti tos iemest attiecigaja direktorija.

register_plugin pievieno pluginu pie amx_plugins , ngEAr ir kjipa plugina autors. Bet isteniba tada veida plugini prieksh roundstart pec koda visi ir vienadi.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...