←  Problemy

AMXX.pl: Support AMX Mod X i SourceMod

»

Paintballgun+PEV= Error logi

  • +
  • -
hateyous - zdjęcie hateyous 04.08.2013

Witam,  to ponownie ja, otóż mam error logi z modyfikacji paintballgun:

 

 

L 08/04/2013 - 14:56:47: Start of error session.
L 08/04/2013 - 14:56:47: Info (map "de_dust2_long") (file "addons/amxmodx/logs/error_20130804.log")
L 08/04/2013 - 14:56:47: [FAKEMETA] Invalid entity
L 08/04/2013 - 14:56:47: [AMXX] Displaying debug trace (plugin "paintballgun.amxx")
L 08/04/2013 - 14:56:47: [AMXX] Run time error 10: native error (native "pev")
L 08/04/2013 - 14:56:47: [AMXX]    [0] paintballgun.sma::fw_think (line 728)

 

 

 

Reinstalacja serwera nie pomaga, podmiana fakematy także, wszystkie moduły są odblokokowane.

 

 

Sma w załączniku

Załączone pliki

Odpowiedz

Gość_21977_* 23.08.2013

public fw_think(ent)
{
	if(!pev_valid(ent)){
		return FMRES_IGNORED;
	}
	
	new model[35];
	pev(ent, pev_model, model, 34);

	if (!equali(model, "models/w_pb_supernade.mdl"))
		return FMRES_IGNORED;
		
	if(!is_user_alive(pev(ent, pev_owner)))
		return FMRES_IGNORED;

	set_task(1.6, "act_superboom", ent);
		
	return FMRES_SUPERCEDE;
}
Odpowiedz