View Issue Details

IDProjectCategoryView StatusLast Update
0007731Multi Theft Auto : San AndreasScriptingpublic2014-06-14 06:25
ReporterMIKI785Assigned Toccw 
PrioritynormalSeverityfeatureReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Version 
Target Version1.4Fixed in Version1.4 
Summary0007731: [Request] sourceResource parameter for onElementDataChange
Description

It would be useful if there was resource parameter in onElementDataChange event, this would be the resource element of the resource that triggered this event (called setElementData).

TagsNo tags attached.

Activities

socialz

2013-10-13 11:38

viewer   ~~0019486

Isn't there already?

'sourceResource' is a global predefined variable. It always returns the resource that called the function.

ccw

2013-10-14 11:05

administrator   ~~0019490

Last edited: 2013-10-14 11:05

View 2 revisions

'sourceResource' is only correct when calling exported functions (at the moment)

arranTuna

2013-12-17 17:05

manager   ~~0019796

Fixed in http://code.google.com/p/mtasa-blue/source/detail?r=5937

Updated onElementDataChange wiki page to include it too.

Issue History

Date Modified Username Field Change