View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006685 | Multi Theft Auto : San Andreas | Server | public | 2011-11-26 18:54 | 2013-02-05 20:52 |
Reporter | Kenix | Assigned To | Kenix | ||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | resolved | Resolution | fixed | ||
Product Version | |||||
Target Version | 1.3.2 | Fixed in Version | 1.3.2 | ||
Summary | 0006685: request function getEventHandlers | ||||
Description | request getEventHandlers for check if event handler added for element | ||||
Tags | No tags attached. | ||||
child of | 0003344 | closed | New Feature Requests | Requested features tracker |
|
In any case, it should be called getEventHandlers. |
|
right, getEventHandlers will be useful. But this function must returns table only with functions of current resource |
|
table getEventHandlers( resource ) |
|
you forgot event name ^^
may be will be useful also
type: 'all', 'build-in', 'own' |
|
You can't get function types from other resources due to limitations in VMs. Would have to be getEventHandlers ( string event ) |
|
That might be better if it'd return the event handler specifically bound to one element. addEventHandler( "onClientPoop", localPlayer, fn ) |
|
Fixed in http://code.google.com/p/mtasa-blue/source/detail?r=4973 |