are you sure line 370 GetPlayerNearestCoords() will never return NULL and cause a NULL dereference exception here ?