For IndexOfEdict, update the code to use SourceMod's
gamehelpers->IndexOfEdict
For PEntityOfEntIndex, use SourceMod's
gamehelpers->EdictOfIndex
Alternatively, you can just use the code mentioned in the
Porting to Left4Dead wiki page.
__________________