View Issue Details

IDProjectCategoryView StatusLast Update
0009418Multi Theft Auto : San AndreasClientpublic2016-10-10 17:19
ReporterStifflersMomAssigned Tolopezloo 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version1.5.3 
Target Version1.5.3Fixed in Version1.5.3 
Summary0009418: v1.5.3-release-10476 setElementFrozen directly after resource start not working
Description

if an object is created server side directly after starting a resource and setElementFrozen is set to true after creation, the frozen state is not synced to client. If you add a pause after resource start, it works.
This breaks some scripts with 1.5.3

Steps To Reproduce

script server side:
-- creating an object just after starting the resource
test=createObject(1636,0,0,3)
setElementFrozen(test,true)

script client side:
addEventHandler( "onClientElementStreamIn", getRootElement( ),
function ( )
local sm=getElementModel( source )
if sm == 1636 then
outputChatBox(tostring(getElementModel(source)).." - "..tostring(isElementFrozen(source)))
end
end
)

Additional Information

demo script attached.

TagsNo tags attached.

Activities

StifflersMom

2016-10-09 14:11

updater   ~~0025308

Additionally, the client frozen state of this object is always unfrozen after reconnect to a server...

Issue History

Date Modified Username Field Change