Our ECL MP Template has a WeaponDialog,it let the players choose weapons\ammo in the beginning and during respawn in a game.
If the respawntime is 30 seconds,a timerscript is working and displays the countdown,when counter reaches 0 the respawnbutton is enabled and U can respawn.
We found a problem during countdown when a player hits ENTER on the keyboard.Then the dialog closes and is messed up whole game.It looks like ENTER causes CloseDialog 102 where [102 =(Respawn idc)],alltho this button is disabled with ctrlenable [102, false].
The ENTER key is attached in OFP to "perform action" (client setting)
DisableUserinput false is no option,we need to select ammo\weapons.
Does anybody has an idea how I could fix this problem?
Thx