public static void PlayerStatus(float p1z, float p2z, IntPtr players) { int[] playerShapes = new int[4 * 6]; Marshal.Copy(players, playerShapes, 0, 4 * 6); logger.AddLogWithTime("Players " + p1z + " " + p2z + " ", playerShapes); } }