←  Problemy

AMXX.pl: Support AMX Mod X i SourceMod

»

CoD Nowy
Silnik COD-a error

M3nt0s - zdjęcie M3nt0s 31.10.2011

proszę mi pomoc oto errory:
L 10/31/2011 - 17:47:43: [AMXX] [0] QTM_CodMod.sma::MessageHealth (line 438)
L 10/31/2011 - 17:48:03: [FAKEMETA] Undefined pev index: 5119
L 10/31/2011 - 17:48:03: [AMXX] Displaying debug trace (plugin "QTM_CodMod.amxx")
L 10/31/2011 - 17:48:03: [AMXX] Run time error 10: native error (native "set_pev")

A to funkcja

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);
}


Wiem ze set_pev trzeba naprawic ale jak?
Odpowiedz

  • +
  • -
!cex! - zdjęcie !cex! 31.10.2011

Załącz plik .sma, albo wrzuć na wklejke.
Odpowiedz

M3nt0s - zdjęcie M3nt0s 31.10.2011

Do zamkniecia poradzilem sobie :)
Użytkownik M3nt0s edytował ten post 31.10.2011 21:37
Odpowiedz