View Issue Details

IDProjectCategoryView StatusLast Update
0003695Multi Theft Auto : San AndreasGeneralpublic2008-06-15 13:46
ReporterrydenAssigned ToJax 
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Versionblue_sa.r2.a12 
Target VersionFixed in Version1.0 
Summary0003695: Various (lots) interior issues
Description
  • Recently created peds interior is somehow set to a random value clientside *

    run createPed(137, 5, 5, 5)
    ryden executed command: return createPed(137, 5, 5, 5)
    Command results: userdata: 000185C4 [element:ped]

run getElementInterior(getElementsByType("ped")[1])
ryden executed command: return getElementInterior(getElementsByType("ped")[1])
Command results: 0 [number]

crun getElementInterior(getElementsByType("ped")[1])
Executing client-side command: return getElementInterior(getElementsByType("ped")[1])
Command results: 144 [number]

  • Server-side getElementInterior doesn't work *

    run createVehicle(560, 5, 5, 5)
    ryden executed command: return createVehicle(560, 5, 5, 5)
    Command results: userdata: 000185B0 [element:vehicle]

run getElementInterior(getElementsByType("vehicle")[1])
ryden executed command: return getElementInterior(getElementsByType("vehicle")[1])
Command results: false [boolean]

crun getElementInterior(getElementsByType("vehicle")[1])
Executing client-side command: return getElementInterior(getElementsByType("vehicle")[1])
Command results: 0 [number]

  • setElementModel resets the elements interior to 0 *

    Happens both client and server side.
    Example client side:
    crun createVehicle(560, 5, 5, 5)
    Executing client-side command: return createVehicle(560, 5, 5, 5)
    Command results: userdata: 00030D3D [element:vehicle]

crun setElementInterior(getElementsByType("vehicle")[1], 14)
Executing client-side command: return setElementInterior(getElementsByType("vehicle")[1], 14)
Command results: true [boolean]

crun setElementModel(getElementsByType("vehicle")[1], 561)
Executing client-side command: return setElementModel(getElementsByType("vehicle")[1], 561)
Command results: true [boolean]

crun getElementInterior(getElementsByType("vehicle")[1])
Executing client-side command: return getElementInterior(getElementsByType("vehicle")[1])
Command results: 0 [number]

  • setElementInterior doesn't work for peds *

    You can set and get the correct values, but the ped stays always visible.

  • setElementInterior doesn't work for objects when
    you set the model in the same frame *

    Happens for both client and server side.
    crun createObject(1337, 5, 5, 5)
    Executing client-side command: return createObject(1337, 5, 5, 5)
    Command results: userdata: 00030D34 [element:object]

crun setTimer(function() local o = getElementsByType("object")[1]; setElementModel(o, 1338); setElementInterior(o, 14) end, 1000, 1)
Executing client-side command: return setTimer(function() local o = getElementsByType("object")[1]; setElementModel(o, 1338); setElementInterior(o, 14) end, 1000, 1)
Command results: userdata: 068CE0D8 [userdata]

crun getElementInterior(getElementsByType("object")[1])
Executing client-side command: return getElementInterior(getElementsByType("object")[1])
Command results: 0 [number]

TagsNo tags attached.

Relationships

related to 0003691 resolvedJax Setting interiors on an element upon creation returns true but fails 
related to 0003690 resolvedJax Marker elements are not accepted by get/setElementInterior 
child of 0002949 closed Map editor issues 

Activities

Jax

2008-06-15 13:07

administrator   ~~0007895

Retest, they should all be fixed

ryden

2008-06-15 13:46

manager   ~~0007898

All fixed except this one:

  • setElementInterior doesn't work for peds *

Issue History

Date Modified Username Field Change