Very strange error [ENGINE] Invalid entity
L 11/07/2013 - 17:42:26: [ENGINE] Invalid entity 80
L 11/07/2013 - 17:42:26: [AMXX] Displaying debug trace (plugin "npc.amxx") L 11/07/2013 - 17:42:26: [AMXX] Run time error 10: native error (native "entity_set_float") L 11/07/2013 - 17:42:26: [AMXX] [0] npc.sma::set_entity_anim (line 507) L 11/07/2013 - 17:42:26: [AMXX] [1] npc.sma::stop_run (line 326) Plugin works fine, but if npc doing skill (before it, i wrote "sv_restart 1") and skill animation in progress - the game is restarted and this error occurs. What's that? From source: Code:
public stop_run(ent)Code:
stock set_entity_anim(ent, anim) |
Re: Very strange error [ENGINE] Invalid entity
Fixed by adding checking for every animation:x...
Code:
public stop_run(ent) |
Re: Very strange error [ENGINE] Invalid entity
Is stop_run called in a task or in the NPC think?
|
Re: Very strange error [ENGINE] Invalid entity
in a task
|
Re: Very strange error [ENGINE] Invalid entity
Quote:
PHP Code:
|
Re: Very strange error [ENGINE] Invalid entity
Thanks! It's very useful.
|
| All times are GMT -4. The time now is 23:22. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.