View Issue Details

IDProjectCategoryView StatusLast Update
0007501Multi Theft Auto : San AndreasClientpublic2013-02-07 20:55
ReporterDakiLLa Assigned ToJusonex  
Status resolvedResolutionfixed 
Target Version1.3.2Fixed in Version1.3.2 
Summary0007501: Binds that were attached directly to controls are getting reset when loading default binds in settings

^ As the title.

Just skip to steps to reproduce.

Steps To Reproduce

1) Bind any function directly to control using bindKey, for example:

bindKey( "fire", "down", function()
outputChatBox( "Test" )
end )

2) Press the Fire key and see the message in the chatbox.
3) Go in the settings menu, select 'Binds' tab and press 'Load defaults' button.
4) Press the Fire key again. Your bind doesn't work anymore.

This goes for server side keybinds as well as for client side binds.

Additional Information

The only workaround of fixing this bug is manually binding keys again over and over inside of setTimer or onClientRender, but this is not the best solution I guess.

TagsNo tags attached.


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change