Jeferson Richart
Registered
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.
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.