PiBoSo Official Forum

GP Bikes => Mods => Plugins => Topic started by: MxWayGamer on January 17, 2023, 02:57:14 PM

Title: Action when key press
Post by: MxWayGamer on January 17, 2023, 02:57:14 PM
Hello,

I would like to display some information on the screen when the player press a specific key (a little bit like MaxHUD when you open the config menu).
I checked the example file but I didn't see a function I can use to add my trigger and test if key is pressed all X ms.

I tried to add a loop in the RunInit function but like expected, it freeze the game.

Does someone have some examples to give me ? 
Title: Re: Action when key press
Post by: MxWayGamer on January 18, 2023, 09:00:37 AM
I found. I have to use Draw function instead of create the loop by myself