View Issue Details

IDProjectCategoryView StatusLast Update
0009033Multi Theft Auto : San AndreasScriptingpublic2017-08-04 20:07
ReporterIIYAMA12Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status confirmedResolutionopen 
Product Version 
Target VersionConfirmed IssuesFixed in Version 
Summary0009033: setVehicleColor clientside directly after creation doesn't work
Description

Set setVehicleColor clientside directly after creation doesn't change the colors.
I tried it on the vehicle models 429 and 405.

Take a closer look at the examples below and try them out.

Steps To Reproduce

/start runcode

srun x,y,z = getElementPosition(getRandomPlayer())
srun setVehicleColor (createVehicle (429, x,y,z,0,0,0),255,255,255,255,255,255,255,255,255)
-- works


crun x,y,z = getElementPosition(localPlayer)
crun setVehicleColor (createVehicle (429, x,y,z,0,0,0),255,255,255,255,255,255,255,255,255)
-- doesn't work

TagsNo tags attached.

Activities

BrianAndrews

2016-08-14 00:03

viewer   ~~0025045

I tried using setTimer to delay setVehicleColor in order to avoid this issue and it changed vehicle color only for streamed-in clientside vehicles.

Issue History

Date Modified Username Field Change