MX Bikes Official Forum

Mods => Plugins => Topic started by: Azazel on June 18, 2018, 02:38:36 PM

Title: Beta8 Output plugin crash
Post by: Azazel on June 18, 2018, 02:38:36 PM
Hi!

I just saw weird things about this function "__declspec (dllexport) void Draw (int _iState, int * _piNumQuads, void ** _ ppQuad, int * _piNumString, void ** _ ppString)".
When I add "extern" C "" to use it, the game crashes when I click on "On Track"
With others fonction it works.

Any idea?

Thanks

Title: Re: Beta8 Output plugin crash
Post by: PiBoSo on June 22, 2018, 04:08:59 PM

Please note that "_piNumQuads" and "_piNumString" must always be set ( to zero if nothing must be drawn ).

Example source code updated.
Title: Re: Beta8 Output plugin crash
Post by: Azazel on June 28, 2018, 08:23:32 AM
Thanks, it works!!  ;D