C4 Timer Hud & Sound (v1.4b) NEW!

Pluginuri facute de utilizatorii forumului eXtream.

Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com

User avatar
floo22
Membru, skill +1
Membru, skill +1
Posts: 300
Joined: 30 Dec 2008, 23:32
Detinator Steam: Nu
CS Status: Pauza ;x :))
Detinator server CS: cs.goodcs.ro
Location: gIuRgIu CiTy ;x
Been thanked: 13 times
Contact:

23 Jul 2009, 13:18

Cu un mic Search gaseai perfect !
Viața e o târfă în care am intrat neprotejat.” - El Nino
Fă-ţi timp să vezi ce vede un orb, fă-ţi timp să auzi ce aude un surd.” - Vescan
Peste tot unde mă duc, beau şi ***, că, beau şi ***. :X
Cât cai ieste într-o chăruţă-nhamaţ sau chum să zâc ... oche? :))
RoyalServer
kallos
Membru, skill 0
Membru, skill 0
Posts: 15
Joined: 06 Jul 2009, 18:03
Detinator Steam: Da
CS Status: Citesc forumul eXtreamCS.com!
Detinator server CS: harlau.servegame.com
Has thanked: 2 times

25 Jul 2009, 11:58

am pus accest plugins pe server si am observat in startup.log ca-mi o eroare :

L 04/30/2009 - 03:11:26: String formatted incorrectly - parameter 4 (total 3)
L 04/30/2009 - 03:11:26: [AMXX] Run time error 25 (plugin "c4_timer_hud_sound.amxx") - debug not enabled!
L 04/30/2009 - 03:11:26: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 04/30/2009 - 03:11:26: String formatted incorrectly - parameter 4 (total 3)
L 04/30/2009 - 03:11:26: [AMXX] Run time error 25 (plugin "c4_timer_hud_sound.amxx") - debug not enabled!
L 04/30/2009 - 03:11:26: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 04/30/2009 - 03:11:26: String formatted incorrectly - parameter 4 (total 3)
L 04/30/2009 - 03:11:26: [AMXX] Run time error 25 (plugin "c4_timer_hud_sound.amxx") - debug not enabled!
L 04/30/2009 - 03:11:26: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 04/30/2009 - 03:11:26: String formatted incorrectly - parameter 4 (total 3)
L 04/30/2009 - 03:11:26: [AMXX] Run time error 25 (plugin "c4_timer_hud_sound.amxx") - debug not enabled!
L 04/30/2009 - 03:11:26: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 04/30/2009 - 03:11:26: String formatted incorrectly - parameter 4 (total 3)
L 04/30/2009 - 03:11:26: [AMXX] Run time error 25 (plugin "c4_timer_hud_sound.amxx") - debug not enabled!
L 04/30/2009 - 03:11:26: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 04/30/2009 - 03:11:26: String formatted incorrectly - parameter 4 (total 3)
L 04/30/2009 - 03:11:26: [AMXX] Run time error 25 (plugin "c4_timer_hud_sound.amxx") - debug not enabled!
L 04/30/2009 - 03:11:26: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 04/30/2009 - 03:11:26: String formatted incorrectly - parameter 4 (total 3)
L 04/30/2009 - 03:11:26: [AMXX] Run time error 25 (plugin "c4_timer_hud_sound.amxx") - debug not enabled!
L 04/30/2009 - 03:11:26: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 04/30/2009 - 03:11:26: String formatted incorrectly - parameter 4 (total 3)
L 04/30/2009 - 03:11:26: [AMXX] Run time error 25 (plugin "c4_timer_hud_sound.amxx") - debug not enabled!
L 04/30/2009 - 03:11:26: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 04/30/2009 - 03:11:26: String formatted incorrectly - parameter 4 (total 3)
L 04/30/2009 - 03:11:26: [AMXX] Run time error 25 (plugin "c4_timer_hud_sound.amxx") - debug not enabled!
L 04/30/2009 - 03:11:26: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).


Stiti din ce cauza da asa ceva ?
unique
Membru, skill +1
Membru, skill +1
Posts: 281
Joined: 29 Aug 2007, 19:34
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com!
Detinator server CS: da
Location: buc
Has thanked: 28 times
Been thanked: 1 time

25 Jul 2009, 15:50

kallos wrote:am pus accest plugins pe server si am observat in startup.log ca-mi o eroare :

L 04/30/2009 - 03:11:26: String formatted incorrectly - parameter 4 (total 3)
L 04/30/2009 - 03:11:26: [AMXX] Run time error 25 (plugin "c4_timer_hud_sound.amxx") - debug not enabled!
L 04/30/2009 - 03:11:26: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 04/30/2009 - 03:11:26: String formatted incorrectly - parameter 4 (total 3)
L 04/30/2009 - 03:11:26: [AMXX] Run time error 25 (plugin "c4_timer_hud_sound.amxx") - debug not enabled!
L 04/30/2009 - 03:11:26: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 04/30/2009 - 03:11:26: String formatted incorrectly - parameter 4 (total 3)
L 04/30/2009 - 03:11:26: [AMXX] Run time error 25 (plugin "c4_timer_hud_sound.amxx") - debug not enabled!
L 04/30/2009 - 03:11:26: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 04/30/2009 - 03:11:26: String formatted incorrectly - parameter 4 (total 3)
L 04/30/2009 - 03:11:26: [AMXX] Run time error 25 (plugin "c4_timer_hud_sound.amxx") - debug not enabled!
L 04/30/2009 - 03:11:26: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 04/30/2009 - 03:11:26: String formatted incorrectly - parameter 4 (total 3)
L 04/30/2009 - 03:11:26: [AMXX] Run time error 25 (plugin "c4_timer_hud_sound.amxx") - debug not enabled!
L 04/30/2009 - 03:11:26: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 04/30/2009 - 03:11:26: String formatted incorrectly - parameter 4 (total 3)
L 04/30/2009 - 03:11:26: [AMXX] Run time error 25 (plugin "c4_timer_hud_sound.amxx") - debug not enabled!
L 04/30/2009 - 03:11:26: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 04/30/2009 - 03:11:26: String formatted incorrectly - parameter 4 (total 3)
L 04/30/2009 - 03:11:26: [AMXX] Run time error 25 (plugin "c4_timer_hud_sound.amxx") - debug not enabled!
L 04/30/2009 - 03:11:26: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 04/30/2009 - 03:11:26: String formatted incorrectly - parameter 4 (total 3)
L 04/30/2009 - 03:11:26: [AMXX] Run time error 25 (plugin "c4_timer_hud_sound.amxx") - debug not enabled!
L 04/30/2009 - 03:11:26: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 04/30/2009 - 03:11:26: String formatted incorrectly - parameter 4 (total 3)
L 04/30/2009 - 03:11:26: [AMXX] Run time error 25 (plugin "c4_timer_hud_sound.amxx") - debug not enabled!
L 04/30/2009 - 03:11:26: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).


Stiti din ce cauza da asa ceva ?
tu stii ingleza?nu vezi k e aceeasi eroare de mai multe ori?
L 04/30/2009 - 03:11:26: [AMXX] Run time error 25 (plugin "c4_timer_hud_sound.amxx") - debug not enabled!
L 04/30/2009 - 03:11:26: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).

modul debug la plugin nu este activat. intrii in plugins.ini si dupa numele pluginului scrii debug
c4_timer_hud_sound.amxx debug
Respecta sa fii respectat!
xsider
Membru, skill +1
Membru, skill +1
Posts: 209
Joined: 25 Jul 2009, 12:01
Detinator Steam: Nu
CS Status: Ocupat...
Has thanked: 6 times
Been thanked: 6 times

26 Jul 2009, 11:11

L-am testat si eu :| Merge perfect ;)

Numai folositi addonsuri luate dupa net,faceti-va singuri si o sa mearga !
hlstrike
Membru, skill 0
Membru, skill 0
Posts: 8
Joined: 16 Jul 2009, 23:17
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com!

28 Jul 2009, 14:29

Va rog al link la v1.3 ca nu mere:(
User avatar
AnOrMaL
Membru, skill +1
Membru, skill +1
Posts: 135
Joined: 14 Apr 2009, 21:22
Detinator Steam: Da
CS Status: DR.PROARTH.COM
Detinator server CS: DR.PROARTH.COM
Location: Husi
Has thanked: 1 time
Contact:

31 Jul 2009, 01:47

L-am pus si eu pe sv :X foarte bun si folositor good job
• Sunt in cautare de admini ( nu este necesar sa tineti redirecte) ce-i interesati add: anormalcs39
Image
User avatar
NeGaT1Ve [ ;x ]
Membru, skill 0
Membru, skill 0
Posts: 53
Joined: 08 Oct 2009, 18:50
Detinator Steam: Da
CS Status: ??
Reputatie: Ban 2 luni !
Has thanked: 6 times
Been thanked: 1 time

27 Oct 2009, 21:38

Un lick nou? :D pls
rEpTiLa0o4
Membru, skill +2
Membru, skill +2
Posts: 819
Joined: 18 Jun 2009, 14:01
Detinator Steam: Da
CS Status: My life's riding on Autobahn !
Detinator server CS: Zombie-Land&Elz
Location: Lugoj
Has thanked: 89 times
Been thanked: 82 times
Contact:

12 Dec 2009, 01:27

Alin poti la versiunea 1.3 sa modifici doua chestii? Am mare nevoie:
1.Sa numere : 30/20/10/9/8/7 etc..nu vreau sa numere si de la 20 la 10 cu 19,18 etc.
2.Daca ai putea timpu ramas,care e afisat ...sa il faci ca la bcd_hudtimer.Adica in loc sa fie pe margini..sa fie ca la bcd_hudtimer,cu aceleasi culori
Ms..app tare pluginu
Image
User avatar
p0k3r
Membru, skill +1
Membru, skill +1
Posts: 335
Joined: 28 Apr 2009, 20:50
Detinator Steam: Da
CS Status: Joc foarte rar.
Detinator server CS: CS.HARD-GAMING.COM
SteamID: nuildau
Reputatie: Ban 3 luni ! (Expirat)
Membru Club eXtreamCS (o luna)
(Ban scos de 1 mai!)
Location: localhost
Been thanked: 15 times
Contact:

14 Dec 2009, 13:41

felicitari !
Citeste regulamentul. Data viitoare iei warn.
unique
Membru, skill +1
Membru, skill +1
Posts: 281
Joined: 29 Aug 2007, 19:34
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com!
Detinator server CS: da
Location: buc
Has thanked: 28 times
Been thanked: 1 time

20 Dec 2009, 14:43

in v. 1.2 si 1.3 lipseste linia client_cmd(0,"spk misc/defusebmb.wav"). am pus o,am compilat pluginul si merge.apoi am incercat sa fac sa mearga cu formatul .mp3.am modificat "spk"(doar la cele 3 sunete si la client_cmd(players, "mp3 play %s", sound)) cu "mp3 play" si .wav cu .mp3.nu merge,nu se aud sunetele...nu da eroare la server ci doar in consola jocului "Missing riff/wave chunck".am facut gresit?
| Afiseaza codul
[code]#include <amxmodx>
#include <amxmisc>
public BombCountVoice
#define PLUGIN "C4 Timer HuD / Sound"
#define VERSION "1.2"
#define AUTHOR "P.Of.Pw"
new g_C4Timer
public plugin_init () {
	register_plugin(PLUGIN, VERSION, AUTHOR)
      
	register_event ("ResetHUD" , "reset_c4timer" , "be")
   
	register_event("TextMsg", "bomb_defused", "a", "2&%!MRAD_BOMBDEF")
   
	register_event("TextMsg", "bomb_pickup", "bc", "2&#Got_bomb")
   
	register_event("TextMsg", "bomb_dropped", "bc", "2&#Game_bomb_d")
	
	register_event("SendAudio", "eEndRound", "a", "2&%!MRAD_terwin","2&%!MRAD_ctwin","2&%!MRAD_rounddraw") 
   
}
public bombtimer () {
   
if (--g_C4Timer >= 0){ 
	if (BombCountVoice) { 
		
		if (g_C4Timer == 30 || g_C4Timer == 20){ 
		new temp[48] 
		num_to_word(g_C4Timer,temp,47) 
		client_cmd(0,"spk ^"vox/%s seconds until explosion^"",temp) 
		} 
		if (g_C4Timer < 20 && g_C4Timer > 0){ 
			new temp[48]
		
			switch(g_C4Timer) {
			case 20:
				set_hudmessage(255, 5, 0, 0.93, 0.09, 0, 6.0, 12.0)	
			case 19:
				set_hudmessage(220, 60, 0, 0.94, 0.13, 0, 6.0, 12.0) 
			case 18:
				set_hudmessage(220, 60, 0, 0.93, 0.18, 0, 6.0, 12.0) 	
			case 17:
				set_hudmessage(200, 100, 0, 0.93, 0.25, 0, 6.0, 12.0) 
			case 16:
				set_hudmessage(200, 100, 0, 0.93, 0.32, 0, 6.0, 12.0) 	
			case 15:
				set_hudmessage(200, 100, 0, 0.94, 0.43, 0, 6.0, 12.0) 
			case 14:
				set_hudmessage(200, 100, 0, 0.93, 0.62, 0, 6.0, 12.0)	
			case 13:
				set_hudmessage(200, 100, 0, 0.93, 0.64, 0, 6.0, 12.0) 
			case 12:
				set_hudmessage(200, 100, 0, 0.93, 0.73, 0, 6.0, 12.0) 
			case 11:
				set_hudmessage(200, 100, 0, 0.93, 0.81, 0, 6.0, 12.0) 
			case 10:
				set_hudmessage(200, 100, 0, 0.05, 0.75, 0, 0.0, 1.0, 0.2, 0.2, 4) 
			case 9:
				set_hudmessage(215, 75, 0, 0.05, 0.70, 0, 0.0, 1.0, 0.2, 0.2, 3)
			case 8:
				set_hudmessage(220, 60, 0, 0.05, 0.65, 0, 0.0, 1.0, 0.2, 0.2, 2)
			case 7:
				set_hudmessage(225, 55, 0, 0.05, 0.60, 0, 0.0, 1.0, 0.2, 0.2, 1)
			case 6:
				set_hudmessage(230, 45, 0, 0.05, 0.55, 0, 0.0, 1.0, 0.2, 0.2, 4)
			case 5:
				set_hudmessage(235, 40, 0, 0.05, 0.50, 0, 0.0, 1.0, 0.2, 0.2, 3)
			case 4:
				set_hudmessage(240, 30, 0, 0.05, 0.45, 0, 0.0, 1.0, 0.2, 0.2, 2)
			case 3:
				set_hudmessage(245, 20, 0, 0.05, 0.40, 0, 0.0, 1.0, 0.2, 0.2, 1)
			case 2:
				set_hudmessage(250, 10, 0, 0.05, 0.35, 0, 0.0, 1.0, 0.2, 0.2, 4)
			case 1:
				set_hudmessage(255, 5, 0, 0.05, 0.30, 0, 0.0, 1.0, 0.2, 0.2, 3)
			default:
				set_hudmessage(200, 100, 0, 0.05, 0.75, 0, 0.0, 1.0, 0.2, 0.2, 4)
			}
			num_to_word (g_C4Timer, temp, 47)
			show_hudmessage (0, "%d", g_C4Timer)
			client_cmd (0, "spk ^"vox/%s^"", temp) 
		}
		else if (g_C4Timer == 0){
		
			set_hudmessage(200, 100, 0, -1.0, 0.40, 0, 0.0, 2.0, 0.2, 0.5, 10) 
			show_hudmessage(0,  "[***] C4 A Explodat [***]")
			}
		
		} 

	} 
	else remove_task(8038)

}
public play_sound(sound[])
{
	new players[32], pnum
	get_players(players, pnum, "c")
	new i
	
	for (i = 0; i < pnum; i++)
	{
		if (is_user_connecting(players))
			continue
		
		client_cmd(players, "mp3 play %s", sound)
	}
}
public reset_c4timer () g_C4Timer = 0
// MSG + Sound la Plantarea Bombei
public bomb_planted ( id ) {
	new name[32]
	get_user_name(id,name,31)

	client_print(0,print_chat,"[***] C4 a fost plantata !")
	
	client_cmd ( 0 ,"mp3 play misc/bomb_planted_sound.mp3" )
	
	g_C4Timer = get_cvar_num("mp_c4timer")
   
	set_task( 1.0, "bombtimer", 8038, "", 0, "b" )
   
}
// MSG + Sound la Explodarea Bombei
public bomb_explode ( id ) {
   
	client_cmd(0,"mp3 play misc/bomb_explode_sound.mp3")
   
	client_print(0,print_chat,"[**] [ C4 ] A Explodat ! [**]")
   
	set_hudmessage(0, 127, 255, 0.3, 0.16, 0, 6.0, 12.0)
	show_hudmessage(id, "[**] Bomba A Explodat Cu Succes!")
}
// MSG + Sound la defusarea Bombei
public bomb_defused ( id ) {

	client_cmd(0,"mp3 play misc/bomb_defused_sound.mp3")
      
	client_print(0,print_chat,"%s A Dezamorsat Bomba !")

	set_hudmessage(255, 255, 0, 0.3, 0.16, 0, 6.0, 12.0)
	show_hudmessage(0, "[**] Bomba A Fost Dezamorsata!")
   
}
// MSG  la recuperarea Bombei
public bomb_pickup ( id ) {
   	
	set_hudmessage(127, 255, 127, 0.3, 0.16, 0, 6.0, 12.0)
	show_hudmessage(0, "[**] Sa Recuperat Bomba ! Go Go Go !")
   
}
// MSG  la pierderea Bombei
public bomb_dropped ( id ) {
      
	set_hudmessage(170, 0, 255, 0.3, 0.16, 0, 6.0, 12.0)
	show_hudmessage(0, "[**] Sa Pierdut Bomba !")
   
}
// CFG
public plugin_cfg() {
	new g_addStast[] = "amx_statscfg add ^"%s^" %s"
	server_cmd(g_addStast, "Bomb Count Down", "BombCountVoice")
}
// Precache
public plugin_precache() {
	precache_sound("misc/bomb_planted_sound.mp3")
	precache_sound("misc/bomb_explode_sound.mp3")
	precache_sound("misc/bomb_defused_sound.mp3")
}
// End Round settings
public eEndRound(){
	g_C4Timer = -2
	remove_task(8038)
}
[/code]
Respecta sa fii respectat!
unique
Membru, skill +1
Membru, skill +1
Posts: 281
Joined: 29 Aug 2007, 19:34
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com!
Detinator server CS: da
Location: buc
Has thanked: 28 times
Been thanked: 1 time

28 Dec 2009, 10:31

im lasat pana la urma cu .wav.repet,linia cu sunetul pentru defuse lipseste!eu am pus linia merge pluginul dar imi da eroarea asta in log

Code: Select all

String formatted incorrectly - parameter 4 (total 3)
L 12/28/2009 - 01:15:27: [AMXX] Displaying debug trace (plugin "c4_timer_hud_sound.amxx")
L 12/28/2009 - 01:15:27: [AMXX] Run time error 25: parameter error 
L 12/28/2009 - 01:15:27: [AMXX]    [0] c4_timer_hud_sound.sma::bomb_defused (line 139)
se poate rezolva?
Respecta sa fii respectat!
PoSiTiOn Of PoWeR
Utilizator banat
Utilizator banat
Posts: 2467
Joined: 28 Oct 2007, 12:18
Detinator Steam: Nu
Reputatie: Fost super moderator (suspendare 2 luni)
Fost scripter eXtreamCS
Nick anterior : AlinHD
1.6 / 3
Has thanked: 4 times
Been thanked: 116 times

29 Dec 2009, 16:39

AM FIXAT PLUGINUL.
Cititi primul post.
Post Reply

Return to “Pluginuri eXtream”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 6 guests