View Issue Details

IDProjectCategoryView StatusLast Update
0004927Multi Theft Auto : San AndreasClientpublic2010-02-02 01:51
Reportermabako Assigned Tomabako  
Status resolvedResolutionfixed 
Product Version1.0 
Target Version1.0.4Fixed in Version1.0.4 
Summary0004927: unbindKey with command binds not unbinding correctly (multiple keys, same command with different params)

easily reproducable by using the following snippet:

bindKey("5", "down", "chatbox", "Test")
bindKey("6", "down", "chatbox", "Other")
unbindKey("5", "down", "chatbox")
unbindKey("6", "down", "chatbox")

It returns true for all four commands in runcode, yet it only unbinds "5" from chatbox, you can still press "6" and have the chatbox with "Other:" open.

Happens with 3+ keys as well, you can only unbind the first one you've bound.

It doesn't matter if I use unbindKey("5", "down", "chatbox") or unbindKey("5", "down", "chatbox", "Test") for that

Happens for both the server- and client-side version of unbindKey.

TagsNo tags attached.


related to 0004928 resolved Source patches Patch for #4927 (unbindKey) 


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change