View Single Post
Chivas2973
Veteran Member
Join Date: Mar 2004
Location: Wisconsin
Old 10-01-2004 , 20:29  
Reply With Quote #5

http://forums.alliedmods.net/showthread.php?t=31049

pay attention to this
Quote:
Originally Posted by jtp10181
and custom heroes that use models and entiies need ot be fixed to work on amxmodx, the find_entity function has changed and no longer returns -1 when it doesn;t find anything, it returns 0. So.... when used in a while loop chekcing for a return of -1 it will get stuck in an infinite loop and lock the server up.
Quote:
Originally Posted by jtp10181
any hero using find_entity, its an easy fix though, just find the line where its seraching in the while loop, and replace -1 with 0
you have to edit the sma ad find -1 and make it 0 then recompile it, this is part of the problem I am having with 0.20, well this part is fixed but the coding gets compiled with no errors but it has some flaws, just remember, only stock heros are fully supported
__________________
Chivas2973 is offline