Guest Posted January 6, 2008 Share Posted January 6, 2008 When I use setElementAlpha on a vehicle (I get its ID with getPlayerOccupiedVehicle ( thePlayer )), it changes the vehicle's alpha correctly, but also all the vehicles of the same type: for exemple, if there are 3 banshee and one police car spawned, if I get in the banshee and try to change its alpha layer using setElementAlpha, it will not only change my banshee's alpha , but also the two others' ; however, it doesn't change the police car (or any other different type car ). I don't know if I should have posted this in the scripting forum (since it looks like a bug), if so, forgive me Clem Link to comment
jbeta Posted January 6, 2008 Share Posted January 6, 2008 It is a known issue, apparently not documented - ped/vehicle alpha affects all elements sharing the same model. Link to comment
Hell_Demon Posted January 7, 2008 Share Posted January 7, 2008 You could work around this by setting the model of the banshee to a model you dont use i think. Link to comment
Recommended Posts