Raised This Month: $12 Target: $400
 3% 

Subplugin Submission [ZP] CSO Countdown 1.0 (Fixed)


Post New Thread Reply   
 
Thread Tools Display Modes
Ghostmast
Junior Member
Join Date: Jul 2010
Old 12-28-2010 , 22:11   Re: [ZP] CSO Countdown 1.0 (Fixed)
Reply With Quote #41

ML_NOTFOUND ?
Ghostmast is offline
Kiryu Zero
Senior Member
Join Date: Apr 2010
Location: Sankt-Peterburg, Russia
Old 12-29-2010 , 05:28   Re: [ZP] CSO Countdown 1.0 (Fixed)
Reply With Quote #42

L 12/29/2010 - 13:25:53: [AMXX] Displaying debug trace (plugin "zCSO_ZM3_countdown.amxx")
L 12/29/2010 - 13:25:53: [AMXX] Run time error 4: index out of bounds
L 12/29/2010 - 13:25:53: [AMXX] [0] zCSO_ZM3_countdown.sma::plugin_precache (line 29)

SV_StartSound: cso/zombi_coming_2_cn.wav not precached (0)
and all sound(

L 12/29/2010 - 14:06:49: [AMXX] Displaying debug trace (plugin "zCSO_ZM3_countdown.amxx")
L 12/29/2010 - 14:06:49: [AMXX] Run time error 4: index out of bounds
L 12/29/2010 - 14:06:49: [AMXX] [0] zCSO_ZM3_countdown.sma::zp_user_infected_post (line 69)
__________________

Last edited by Kiryu Zero; 12-29-2010 at 06:07. Reason: new eror
Kiryu Zero is offline
Send a message via ICQ to Kiryu Zero Send a message via Skype™ to Kiryu Zero
DooMka
Junior Member
Join Date: Dec 2010
Old 01-11-2011 , 23:09   Re: [ZP] CSO Countdown 1.0 (Fixed)
Reply With Quote #43

I have made all correctly, but it on works
1 One.wav - off
2 start_sound.mp3 - off
3 server - error

Please complete a plug-in

Quote:
Warning: Unable to open sound/sound/cso/zombi_start.mp3 for transfer
L 01/12/2011 - 09:04:21: String formatted incorrectly - parameter 7 (total 6)
L 01/12/2011 - 09:04:21: [AMXX] Displaying debug trace (plugin "CSO_ZM3_countdow
n.amxx")
L 01/12/2011 - 09:04:21: [AMXX] Run time error 25: parameter error
L 01/12/2011 - 09:04:21: [AMXX] [0] CSO_ZM3_countdown.sma::csozm3_countdown (
line 43)
L 01/12/2011 - 09:06:03: String formatted incorrectly - parameter 7 (total 6)
L 01/12/2011 - 09:06:03: [AMXX] Displaying debug trace (plugin "CSO_ZM3_countdow
n.amxx")
L 01/12/2011 - 09:06:03: [AMXX] Run time error 25: parameter error
L 01/12/2011 - 09:06:03: [AMXX] [0] CSO_ZM3_countdown.sma::csozm3_countdown (
line 43)
P.S. Excuse for English
DooMka is offline
rodrigo286
Veteran Member
Join Date: Sep 2010
Location: Brazil, São Paulo
Old 02-06-2011 , 20:17   Re: [ZP] CSO Countdown 1.0 (Fixed)
Reply With Quote #44

Is there any version that is working?
rodrigo286 is offline
artos
Senior Member
Join Date: Mar 2010
Old 12-06-2012 , 14:56   Re: [ZP] CSO Countdown 1.0 (Fixed)
Reply With Quote #45

Quote:
Originally Posted by rodrigo286 View Post
Is there any version that is working?
This one

PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <zombieplague>

#define PLUGIN "[ZP] Countdown 1.0"
#define VERSION "1.0"
#define AUTHOR "Unknown"

new countdown
new time_s

public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
register_event("HLTV""event_round_start""a""1=0""2=0")
}

public 
plugin_precache()
{
    
precache_sound"zombie_plague/ten.wav" )
    
precache_sound"zombie_plague/nine.wav" )
    
precache_sound"zombie_plague/eight.wav" )
    
precache_sound"zombie_plague/seven.wav" )
    
precache_sound"zombie_plague/six.wav" )
    
precache_sound"zombie_plague/five.wav" )
    
precache_sound"zombie_plague/four.wav" )
    
precache_sound"zombie_plague/three.wav" )
    
precache_sound"zombie_plague/two.wav" )
    
precache_sound"zombie_plague/one.wav" )
}

public 
event_round_start()
{
    
set_task(1.0"zombie_countdown")
    
time_s 10
    countdown 
9
}

public 
zombie_countdown()
{    
    new 
speak10 ][] = { "zombie_plague/one.wav""zombie_plague/two.wav""zombie_plague/three.wav""zombie_plague/four.wav""zombie_plague/five.wav""zombie_plague/six.wav""zombie_plague/seven.wav""zombie_plague/eight.wav""zombie_plague/nine.wav""zombie_plague/ten.wav" }

    
emit_sound0CHAN_VOICEspeakcountdown ], 1.0ATTN_NORM0PITCH_NORM )
    
countdown--
        
    
set_hudmessage(17900, -1.00.2820.021.00.010.110); 
    
show_hudmessage(0"%i"time_s); 
    --
time_s;
        
    if(
time_s >= 1)
    {
        
set_task(1.0"zombie_countdown")
    }

__________________
artos is offline
Send a message via Skype™ to artos
iAssasinLeo
New Member
Join Date: Dec 2013
Old 01-19-2014 , 06:09   Re: [ZP] CSO Countdown 1.0 (Fixed)
Reply With Quote #46

I get ML not found, can anyone fix this?
iAssasinLeo is offline
Lucky888
Senior Member
Join Date: Nov 2011
Location: Paradise
Old 07-22-2014 , 12:03   Re: [ZP] CSO Countdown 1.0 (Fixed)
Reply With Quote #47

Thanks, my countdown code have some bug, i can fix with your plugins!!
__________________
Lucky888 is offline
Send a message via Yahoo to Lucky888
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:01.


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