←  Problemy

AMXX.pl: Support AMX Mod X i SourceMod

»

CoD Nowy
Silnik CodModa- logi

Zablokowany

Ert - zdjęcie Ert 18.07.2011

Witam,
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
Odpowiedz

  • +
  • -
soda - zdjęcie soda 23.07.2011

ja chyba mam ten sam problem ;/
Odpowiedz

  • +
  • -
Goliath - zdjęcie 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);
}
Odpowiedz

  • +
  • -
soda - zdjęcie soda 23.07.2011

ale co z tym trzeba zrobić ?
Odpowiedz

BamburPL - zdjęcie BamburPL 23.07.2011

daj QTM_CODMOD.sma zrobie Ci to
Odpowiedz

  • +
  • -
soda - zdjęcie 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ś ?
Odpowiedz

  • +
  • -
Na 5tyk - zdjęcie Na 5tyk 24.07.2011

Wklej to do *.sma CODa
Odpowiedz
Zablokowany