L 09/24/2011 - 14:03:26: [AMXX] Displaying debug trace (plugin "Nieustraszony.amxx")
L 09/24/2011 - 14:03:26: [AMXX] Run time error 4: index out of bounds
L 09/24/2011 - 14:03:26: [AMXX] [0] codclass_nieustraszony_226709.sma::ResetHUD (line 162)
L 09/24/2011 - 14:03:26: [AMXX] Displaying debug trace (plugin "Nieustraszony.amxx")
L 09/24/2011 - 14:03:26: [AMXX] Run time error 4: index out of bounds
L 09/24/2011 - 14:03:26: [AMXX] [0] codclass_nieustraszony_226709.sma::ResetHUD (line 162)
L 09/24/2011 - 14:03:26: [AMXX] Displaying debug trace (plugin "Nieustraszony.amxx")
L 09/24/2011 - 14:03:26: [AMXX] Run time error 4: index out of bounds
L 09/24/2011 - 14:03:26: [AMXX] [0] codclass_nieustraszony_226709.sma::ResetHUD (line 162)
L 09/24/2011 - 14:03:26: [AMXX] Displaying debug trace (plugin "Nieustraszony.amxx")
L 09/24/2011 - 14:03:26: [AMXX] Run time error 4: index out of bounds
L 09/24/2011 - 14:03:26: [AMXX] [0] codclass_nieustraszony_226709.sma::ResetHUD (line 162)
L 09/24/2011 - 14:03:26: [AMXX] Displaying debug trace (plugin "Nieustraszony.amxx")
L 09/24/2011 - 14:03:26: [AMXX] Run time error 4: index out of bounds
L 09/24/2011 - 14:03:26: [AMXX] [0] codclass_nieustraszony_226709.sma::ResetHUD (line 162)
L 09/24/2011 - 14:03:26: [AMXX] Displaying debug trace (plugin "Nieustraszony.amxx")
L 09/24/2011 - 14:02:35: [AMXX] Displaying debug trace (plugin "Nieustraszony.amxx")
L 09/24/2011 - 14:02:35: [AMXX] Run time error 4: index out of bounds
L 09/24/2011 - 14:02:35: [AMXX] [0] codclass_nieustraszony_226709.sma::TakeDamage (line 59)
L 09/24/2011 - 14:02:38: [AMXX] Displaying debug trace (plugin "Nieustraszony.amxx")
L 09/24/2011 - 14:02:38: [AMXX] Run time error 4: index out of bounds
L 09/24/2011 - 14:02:38: [AMXX] [0] codclass_nieustraszony_226709.sma::TakeDamage (line 59)
L 09/24/2011 - 14:02:39: [AMXX] Displaying debug trace (plugin "Nieustraszony.amxx")
L 09/24/2011 - 14:02:39: [AMXX] Run time error 4: index out of bounds
L 09/24/2011 - 14:02:39: [AMXX] [0] codclass_nieustraszony_226709.sma::TakeDamage (line 59)
L 09/24/2011 - 14:02:40: [AMXX] Displaying debug trace (plugin "Nieustraszony.amxx")
L 09/24/2011 - 14:02:40: [AMXX] Run time error 4: index out of bounds
L 09/24/2011 - 14:02:40: [AMXX] [0] codclass_nieustraszony_226709.sma::TakeDamage (line 59)
L 09/24/2011 - 14:02:40: [AMXX] Displaying debug trace (plugin "Nieustraszony.amxx")
L 09/24/2011 - 14:02:40: [AMXX] Run time error 4: index out of bounds
L 09/24/2011 - 14:02:40: [AMXX] [0] codclass_nieustraszony_226709.sma::TakeDamage (line 59)
L 09/24/2011 - 14:02:40: [AMXX] Displaying debug trace (plugin "Nieustraszony.amxx")
L 09/24/2011 - 14:02:40: [AMXX] Run time error 4: index out of bounds
L 09/24/2011 - 14:02:40: [AMXX] [0] codclass_nieustraszony_226709.sma::TakeDamage (line 59)
L 09/24/2011 - 14:02:45: [AMXX] Displaying debug trace (plugin "Nieustraszony.amxx")
L 09/24/2011 - 14:02:45: [AMXX] Run time error 4: index out of bounds
L 09/24/2011 - 14:02:45: [AMXX] [0] codclass_nieustraszony_226709.sma::TakeDamage (line 59)
Witamy w Nieoficjalnym polskim support'cie AMX Mod X
Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
|
pomoc w poprawieniu klasy
#1
Napisano 24.09.2011 13:27
http://elite-skill.eu/
#2
Napisano 24.09.2011 13:34
Automatyczna wiadomość
Ten temat został przeniesiony z forum:
Scripting AMXX → Pluginy
do
Mody → Call of Duty Mod → Pytania
#3
Napisano 24.09.2011 13:39
codclass_nieustraszony.amxx debug
#4
Napisano 24.09.2011 13:42
a tak w ogóle co to ma dać ?
http://elite-skill.eu/
#5
Napisano 24.09.2011 13:44
#7
Napisano 25.09.2011 00:54
L 09/25/2011 - 01:40:01: [AMXX] Run time error 4: index out of bounds
L 09/25/2011 - 01:40:01: [AMXX] [0] japonski_228461.sma::fwd_touch (line 27)
L 09/25/2011 - 01:40:01: [AMXX] Displaying debug trace (plugin "codclass_japonskiweteran.amxx")
L 09/25/2011 - 01:40:01: [AMXX] Run time error 4: index out of bounds
L 09/25/2011 - 01:40:01: [AMXX] [0] japonski_228461.sma::fwd_touch (line 27)
L 09/25/2011 - 01:40:01: [AMXX] Displaying debug trace (plugin "codclass_japonskiweteran.amxx")
L 09/25/2011 - 01:40:01: [AMXX] Run time error 4: index out of bounds
L 09/25/2011 - 01:40:01: [AMXX] [0] japonski_228461.sma::fwd_touch (line 27)
L 09/25/2011 - 01:40:01: [AMXX] Displaying debug trace (plugin "codclass_japonskiweteran.amxx")
L 09/25/2011 - 01:40:01: [AMXX] Run time error 4: index out of bounds
L 09/25/2011 - 01:40:01: [AMXX] [0] japonski_228461.sma::fwd_touch (line 27)
L 09/25/2011 - 01:40:01: [AMXX] Displaying debug trace (plugin "codclass_japonskiweteran.amxx")
Załączone pliki
http://elite-skill.eu/
#8
Napisano 25.09.2011 09:20
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <fakemeta>
#include <codmod>
#include <engine>
new const nazwa[] = "Japonski Weteran";
new const opis[] = "Moze wspinac sie po scianie";
new const bronie = 1<<CSW_FAMAS | 2<<CSW_DEAGLE;
new const zdrowie = 35;
new const kondycja = 40;
new const inteligencja = 10;
new const wytrzymalosc = 5;
new Float:g_wallorigin[32][3];
new bool:ma_klase[33];
public plugin_init() {
register_plugin(nazwa, "1.0", "Crew");
cod_register_class(nazwa, opis, bronie, zdrowie, kondycja, inteligencja, wytrzymalosc);
register_forward(FM_Touch, "fwd_touch");
}
public fwd_touch(id, world)
{
if(!is_user_alive(id) || !ma_klase[id])
return FMRES_IGNORED;
new classname[32];
entity_get_string(world, EV_SZ_classname, classname, 31);
if(equal(classname, "worldspawn") || equal(classname, "func_wall") || equal(classname, "func_breakable"))
entity_get_vector(id, EV_VEC_origin, g_wallorigin[id]);
return FMRES_IGNORED;
}
public client_PreThink(id)
{
new button = get_user_button(id);
if(button & IN_USE && ma_klase[id])
{
static Float:origin[3];
entity_get_vector(id, EV_VEC_origin, origin);
if(get_distance_f(origin, g_wallorigin[id]) > 25.0)
return FMRES_IGNORED;
if(get_entity_flags(id) & FL_ONGROUND)
return FMRES_IGNORED;
if(button & IN_FORWARD)
{
static Float:velocity[3];
velocity_by_aim(id, 240, velocity);
entity_set_vector(id, EV_VEC_velocity, velocity);
}
else if(button & IN_BACK)
{
static Float:velocity[3];
velocity_by_aim(id, -240, velocity);
entity_set_vector(id, EV_VEC_velocity, velocity);
}
}
return FMRES_IGNORED;
}
public cod_class_enabled(id){
ma_klase[id] = true;
}
public cod_class_disabled(id){
ma_klase[id] = false;
}
#9
Napisano 25.09.2011 14:13
L 09/25/2011 - 15:11:59: [AMXX] Displaying debug trace (plugin "Nieustraszony.amxx")
L 09/25/2011 - 15:11:59: [AMXX] Run time error 4: index out of bounds
L 09/25/2011 - 15:11:59: [AMXX] [0] Nieustraszony_228450.sma::TakeDamage (line 61)
L 09/25/2011 - 15:12:00: [AMXX] Displaying debug trace (plugin "Nieustraszony.amxx")
L 09/25/2011 - 15:12:00: [AMXX] Run time error 4: index out of bounds
L 09/25/2011 - 15:12:00: [AMXX] [0] Nieustraszony_228450.sma::TakeDamage (line 61)
L 09/25/2011 - 15:12:00: [AMXX] Displaying debug trace (plugin "Nieustraszony.amxx")
L 09/25/2011 - 15:12:00: [AMXX] Run time error 4: index out of bounds
L 09/25/2011 - 15:12:00: [AMXX] [0] Nieustraszony_228450.sma::TakeDamage (line 61)
http://elite-skill.eu/
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych