Originally Posted by Dridzt
Wouldn't that loop run 'forever' and keep bumping index if you happen to reload in an area with no nameplates?
|
It would indeed.
A possible solution instead of the previous would be using a combination of an event and function that only works on a login (not reload) to reset a SV containing a variable that is set on PLAYER_LOGOUT to keep counting properly.
It would lead into a monstrosity though.