Jump to content
GIGN Forum

Recommended Posts

Ka var ielikt skanas serveri piem muzku utt... pasakat ludzu

seit tu dabusi RaundSound

http://forums.alliedmods.net/showthread.php?p=63689

nokaca roundsound.zip

exstrakto vinu

tad sound mapi iemet cstrike folderi

roundsound.sma ieliec \cstrike\addons\amxmodx\scripting

un palaid compile.exe tad paradas compiled folders tur atrodi roundsound.amxx

vinu ieliec cstrike\addons\amxmodx\plugins ta cstrike\addons\amxmodx\configs

aatrodas plugins.ini tur pasa leja ieraksti roundsound.amxx

un vis bus OK

Edited by Drumais
Link to comment
Share on other sites

Kā uzlikt endround sounds!!!

Ieej TE

Novels...

Tur būs rakstīts:

#include

public plugin_init()

{

register_plugin(\"RoundSound\",\"1.0\",\"PaintLancer\")

register_event(\"SendAudio\", \"t_win\", \"a\", \"2&%!MRAD_terwin\")

register_event(\"SendAudio\", \"ct_win\", \"a\", \"2&%!MRAD_ctwin\")

}

public t_win()

{

new rand = random_num(0,2)

client_cmd(0,\"stopsound\")

switch(rand)

{

case 0: client_cmd(0,\"spk misc/around.wav\")

case 1: client_cmd(0,\"spk misc/bodymovin.wav\")

case 2: client_cmd(0,\"spk misc/faith.wav\")

}

return PLUGIN_CONTINUE

}

public ct_win()

{

new rand = random_num(0,2)

client_cmd(0,\"stopsound\")

switch(rand)

{

case 0: client_cmd(0,\"spk misc/myadidas.wav\")

case 1: client_cmd(0,\"spk misc/shimmy.wav\")

case 2: client_cmd(0,\"spk misc/rollin.wav\")

}

return PLUGIN_CONTINUE

}

public plugin_precache()

{

precache_sound(\"misc/myadidas.wav\")

precache_sound(\"misc/shimmy.wav\")

precache_sound(\"misc/rollin.wav\")

precache_sound(\"misc/around.wav\")

precache_sound(\"misc/bodymovin.wav\")

precache_sound(\"misc/faith.wav\")

return PLUGIN_CONTINUE

}

Pārlabojam : faith.wav,bodymovin.wav,around.wav,rollin.wav,shimmy.wav, u.t.t

Piemeram Es gribu ielikt dziesmu ar nosaukumu LoL, tā tad es pārlaboju

precache_sound(\"misc/faith.wav\") uz precache_sound(\"misc/LoL.wav\")

.wav beigās jābūt obligāti...^^

Visiem failiem ir jābūt wave formātā!!!!

Kad esam pārrakstījuši visus pa savam prātam,veram ciet un saglabājam...^^

Spiežam \"compile\" nu ...\\cstrike\\addons\\amxmodx\\scripting mapē ir fails \"compile\", SPIEZAM...Gaidam kad pabeidz!Tad spiežam enter...

Kad tas ir izdarīts spiežam uz mapes \"compilted\" nu ...\\cstrike\\addons\\amxmodx\\scripting\\compiled mapē, un atrodam tu failu \"roundsound\"...Ieliekam šo failu ...\\cstrike\\addons\\amxmodx\\plugins mapē!!!

Tālāk ejam uz ...\\cstrike\\addons\\amxmodx\\configs mapi, atrodam tur failu plugins.ini...Atveram ^^Un pievienojam apakša rindiņu \" roundsound.amxx \"

Tālāk saliekam visus failus ko jūs sarakstījāt .sma failā ...\\cstrike\\sound\\misc mapē!

Tas arī viss... wink.gif

Link to comment
Share on other sites

  • 2 months later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...