• Welcome to MX Bikes Official Forum. Please login or sign up.
 
April 25, 2024, 07:54:40 AM

News:

MX Bikes beta18j available! :)


output plugin Draw() call has _iState at 1 for loaded replay ?

Started by HornetMaX, September 18, 2016, 04:05:56 PM

Previous topic - Next topic

HornetMaX

From the example plugin:

/* _iState: 0 = on track; 1 = spectate; 2 = replay. This function is optional */
__declspec(dllexport) void Draw(int _iState,int *_piNumQuads,void **_ppQuad,int *_piNumString,void **_ppString)


But when I start MXB and load a saved replay, the Draw() call has _iState at 1. In GPB it's 2, as expected.

PiBoSo