View Issue Details

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

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.



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.


2013-10-14 11:05

administrator   ~~0019490

Last edited: 2013-10-14 11:05

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


2013-12-17 17:05

manager   ~~0019796

Fixed in

Updated onElementDataChange wiki page to include it too.

Issue History

Date Modified Username Field Change