View Issue Details

IDProjectCategoryView StatusLast Update
0001768Multi Theft Auto : San AndreasScriptingpublic2006-12-31 21:00
ReporterjbetaAssigned ToJax 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
PlatformAMD Athlon(tm) 64 X2 ~2.2GHzOSWindows XP Professional x64 SP1OS Version5.2, Build 3790
Product Versionblue_sa.r2.a12 
Target VersionFixed in Versionmtasadm_v1.0-dp1 
Summary0001768: Cloned custom elements' type can't be retrieved
Description

Custom elements cloned via cloneElement function return an "unknown" type using getElementType, while the original element does not.

Additional Information

element = createElement ( "name", "custom" )
clone = cloneElement ( element )
outputChatBox ( "Original type: " .. getElementType ( element ) )
outputChatBox ( "Clone type: " .. getElementType ( clone ) )

First line outputs "custom", second outputs "unknown".

TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change