Silnik CodModa- logi
Ert
18.07.2011
Witam,
Wyswietlaja mi sie takie logi , oraz crashuje mi serwer:
Kod line 445:
Użytkownik Ert edytował ten post 18.07.2011 12:17
Wyswietlaja mi sie takie logi , oraz crashuje mi serwer:
L 07/18/2011 - 12:48:25: [AMXX] Displaying debug trace (plugin "QTM_CodMod.amxx") L 07/18/2011 - 12:48:25: [AMXX] Run time error 10: native error (native "set_pev") L 07/18/2011 - 12:48:25: [AMXX] [0] QTM_CodMod.sma::MessageHealth (line 445) L 07/18/2011 - 12:53:09: [FAKEMETA] Undefined pev index: 255 L 07/18/2011 - 12:53:09: [AMXX] Displaying debug trace (plugin "QTM_CodMod.amxx") L 07/18/2011 - 12:53:09: [AMXX] Run time error 10: native error (native "set_pev") L 07/18/2011 - 12:53:09: [AMXX] [0] QTM_CodMod.sma::MessageHealth (line 445)Kod public Message Health:
public MessageHealth(msg_id, msg_dest, msg_entity) { new health = get_msg_arg_int(1); if(health < 256) return; if (!(health % 256)) set_pev(msg_entity, pev(msg_entity, pev_health)-1); set_msg_arg_int(1, get_msg_argtype(1), 255); }
Kod line 445:
set_pev(msg_entity, pev(msg_entity, pev_health)-1);
Użytkownik Ert edytował ten post 18.07.2011 12:17
Goliath
23.07.2011
public MessageHealth(msg_id, msg_dest, msg_entity)
{
new health = get_msg_arg_int(1);
if(health < 256)
return;
if (!(health % 256))
set_pev(msg_entity, pev_health, pev(msg_entity, pev_health)-1);
set_msg_arg_int(1, get_msg_argtype(1), 255);
}
soda
23.07.2011
Bo mi sie cały czas serwer crashuje i to samo mi w logach pisze.
już nie mogę sobie z tym poradzić ;/
pomoże ktoś ?
już nie mogę sobie z tym poradzić ;/
pomoże ktoś ?