SWAT: That doesn't look like a full error... It looks like you copied the bottom half of one and the top half of another. The error log normally ENDS one error with the call stack trace followed by the lines of the trace (e.g. 1541)
Eggman: There's a stock for FindEntityByClassname2 which makes sure that FindEntityByClassname doesn't fail. I'm not sure if it applies to the error that that guy is getting.
PHP Code:
stock FindEntityByClassname2(startEnt, const String:classname[])
{
/* If startEnt isn't valid shifting it back to the nearest valid one */
while (startEnt > -1 && !IsValidEntity(startEnt)) startEnt--;
return FindEntityByClassname(startEnt, classname);
}
__________________
Bread EOTL GunMettle Invasion Jungle Inferno 64-bit will break everything. Don't even ask.
All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You
will be fed to javalia otherwise.
Psyduck likes replays.