Gets the unique entity index of an entity.
-1 for clientside-only or 0 for serverside-only entities.
-1
0
Demonstrates the use of this function.