Mam problem z dwoma pluginami strasznie mi zasypuje logami:
L 06/28/2011 - 17:39:06: [AMXX] Displaying debug trace (plugin "dr_expmod.amxx")
L 06/28/2011 - 17:39:06: [AMXX] Run time error 10: native error (native "cs_get_user_team")
L 06/28/2011 - 17:39:06: [AMXX] [0] dr_expmod_162779.sma::nacpaj (line 999)
L 06/28/2011 - 17:41:29: Start of error session.
L 06/28/2011 - 17:41:29: Info (map "deathrun_pycho") (file "addons/amxmodx/logs/error_20110628.log")
L 06/28/2011 - 17:41:29: [AMXX] Displaying debug trace (plugin "deathrun_shop.amxx")
L 06/28/2011 - 17:41:29: [AMXX] Run time error 4: index out of bounds
L 06/28/2011 - 17:41:29: [AMXX] [0] deathrun_shop_164412.sma::Hook_Deathmessage (line 377)
Co do expmod'a macie public:
public nacpaj(id){
if(punktynacpaj[id] > 0){
if(usenacpaj[id] == false) {
new index, cialo
get_user_aiming(id, index, cialo)
if(index!=0) {
if(cs_get_user_team(index) != cs_get_user_team(id)) {
message_begin( MSG_ONE, get_user_msgid("SetFOV"), {0, 0, 0},index);
write_byte( 180 );
message_end( );
set_task(2*punktynacpaj[id]*1.0,"usun_cpuna",index)
ColorChat(id,RED,"%s^x01 Nacpales Wroga !",prefix)
ColorChat(id,RED,"%s^x01 Zatrzymales WROGA !",prefix)
usenacpaj[id] = true
}
}
}
else {
ColorChat(id,RED,"%s^x01 Nacpales juz raz wroga !",prefix)
}
}
}
Co do shopa to macie załącznik.
Załączone pliki
Użytkownik WazzaP edytował ten post 28.06.2011 17:05