bio_eyecandy.sma::cheese_player_spawn_post (line 27) L 11/25/2014 - 19:00:20: Plugin called message_begin with an invalid message id (0). L 11/25/2014 - 19:00:20: [AMXX] Displaying debug trace (plugin "bio_eyecandy.amxx") L 11/25/2014 - 19:00:20: [AMXX] Run time error 10: native error (native "message_begin") L 11/25/2014 - 19:00:20: [AMXX] [0] bio_eyecandy.sma::set_icon_status (line 59) L 11/25/2014 - 19:00:20: [AMXX] [1] bio_eyecandy.sma::cheese_player_spawn_post (line 27)Błędy znajdują się tutaj
public cheese_player_spawn_post(id) {
if (is_user_alive(id)) {
set_icon_status(id, 0, 0, 0 ,0) // Linia 27
set_task(0.5,"delay_spawned", id + 221)
}
return HAM_IGNORED
}oraz tutajstock set_icon_status(id, mode, red, green, blue) {
message_begin(MSG_ONE,iconstatus,{0,0,0},id); // Linia 59
write_byte(mode); // status (0=hide, 1=show, 2=flash)
write_string("dmg_bio"); // sprite name
write_byte(red); // red
write_byte(green); // green
write_byte(blue); // blue
message_end();
}W konsoli zauważyłem również inny błąd, z tego samego pluginubio_eyecandy.sma::cheese_player_spawn_post (line 27) L 11/25/2014 - 19:06:00: Plugin called message_begin with an invalid message id (0). L 11/25/2014 - 19:06:00: [AMXX] Displaying debug trace (plugin "bio_eyecandy.amxx") L 11/25/2014 - 19:06:00: [AMXX] Run time error 10: native error (native "message_begin") L 11/25/2014 - 19:06:00: [AMXX] [0] bio_eyecandy.sma::set_icon_status (line 59) L 11/25/2014 - 19:06:00: [AMXX] [1] bio_eyecandy.sma::event_infect (line 55)
public event_infect(victim, attacker) {
set_icon_status(victim, 1, 255, 0, 0) // Linia 55
}Hmmm, dlaczego wywala błąd ?
Użytkownik Petpat edytował ten post 25.11.2014 19:17


Dodatki SourceMod














