View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0008350||Multi Theft Auto : San Andreas||Scripting||public||2014-07-09 22:31||2015-08-17 12:12|
|Target Version||1.5.1||Fixed in Version||1.5.1|
|Summary||0008350: Object moved with moveObject can move frozen player|
When an object is moved with moveObject, it moves the players standing on it, even if the players were frozen with setElementFrozen
This might work with peds too, i didn't check.
|Steps To Reproduce|
crun o = createObject(1697, 1544, -1353, 329.5, 31.8, 0, 0)
Multi Theft Auto v1.4-release-6651
|Tags||No tags attached.|
My impression of setElementFrozen is that it couldn't be moved by its own means, but other environment factors could control it.
setElementFrozen freezes the position and the rotation (not for peds/players) of an element.
Object moving uses the CDeathmatchObject::SetOrientation method (this bug occures also with setElementPosition), which updates all contacting ped's position too (see CDeathmatchObject::UpdateContacting)