Landing light PA38 save in the aircraft

Friends, I recently started using the SDK and I don’t know how to record what I do. Specifically, I modified the landing lights of the PA38 Tomahawk successfully, but I don’t know how to record it on the plane.
I appreciate hel