Is there any way to set by plugin when we joining and leaving a server? I thought the example plugin's Shutdown option would run when we exit the server, but it actually only runs when the game is closed. I saw that there is another option in the command list (ScreenInfoV01) that could help me: unsigned char mOptionsLocation; // 0=main UI, 1=track loading, 2=monitor, 3=on track But I couldn't get it to work. All other options that I tested, such as UpdateScoring only run while we are on the server, but there is no trigger executed for example before leaving the server, which would also help me. If anyone knows how to make this option above work or has some other solution, I would appreciate it.
@Jeferson Richart have you tried Unload() ? (I don't know, as I've not tried to have anything running when exiting a server. But I'd be checking that one)
@Lazza , I'm going to take advantage and ask you for one more help. Do you know how to use struct PhysicsOptionsV01 I can't get information about the activated helps. Thanks