View Issue Details

IDProjectCategoryView StatusLast Update
0009033Multi Theft Auto : San AndreasScriptingpublic2018-07-03 14:51
ReporterIIYAMA12Assigned ToBonus1702 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version1.5.4 
Target Version1.5.6Fixed in Version1.5.6 
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.

Bonus1702

2018-07-03 14:28

reporter   ~~0026596

Created PR:
https://github.com/multitheftauto/mtasa-blue/pull/216

Issue History

Date Modified Username Field Change