Jump to content
GIGN Forum

roundsound YO


aaE
 Share

Recommended Posts

Itkā visu saliku, nokompilēju, serverī ejot nokačājās, bet ņe*uja neskan!

šaize

#include <amxmodx>

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(1,4)

client_cmd(0,"stopsound")

switch(rand)

{

case 1: client_cmd(0,"spk zadrots/Tsunami")

case 2: client_cmd(0,"spk zadrots/Animals")

case 3: client_cmd(0,"spk zadrots/LoseIt")

case 4: client_cmd(0,"spk zadrots/Earthquake")

}

return PLUGIN_HANDLED

}

public ct_win()

{

new rand = random_num(1,4)

client_cmd(0,"stopsound")

switch(rand)

{

case 1: client_cmd(0,"spk zadrots/DWTGTHA")

case 2: client_cmd(0,"spk zadrots/Cinema")

case 3: client_cmd(0,"spk zadrots/HitIt")

case 4: client_cmd(0,"spk zadrots/LRAD")

}

return PLUGIN_HANDLED

}

public plugin_precache()

{

precache_sound("zadrots/DWTGTHA.mp3")

precache_sound("zadrots/Cinema.mp3")

precache_sound("zadrots/HitIt.mp3")

precache_sound("zadrots/LRAD.mp3")

precache_sound("zadrots/Tsunami.mp3")

precache_sound("zadrots/Animals.mp3")

precache_sound("zadrots/LoseIt.mp3")

precache_sound("zadrots/Earthquake.mp3")

return PLUGIN_CONTINUE

}

Link to comment
Share on other sites

Welcome to the AMX Mod X 1.8.1-300 Compiler.

Copyright © 1997-2006 ITB CompuPhase, AMX Mod X Team

/tmp/textsH7voT.sma(1) : error 013: no entry point (no public functions)

1 Error.

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

esmu gatavus nokačājis ar mp3 un tie iet itkā

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...