Posts: 913
Threads: 70
Joined: Apr 2009
Reputation:
0
26.04.2012, 08:43
(
Последний раз редактировалось kurta999; 26.04.2012 в 12:19.
)
This is not bug, but would be very good if you don't need to re-set object material, if you attach it to vehicle.
This happens for me with player object.
Posts: 2,938
Threads: 162
Joined: May 2010
26.04.2012, 10:41
(
Последний раз редактировалось Kar; 28.04.2012 в 14:09.
)
uh like this?
pawn Код:
PlayerInfo[playerid][pSpecialObjects][3] = CreateObject(1593, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 125.0);
SetObjectMaterial(PlayerInfo[playerid][pSpecialObjects][3], 0, 18837, "mickytextures", "ws_gayflag1", 0);
AttachObjectToVehicle(PlayerInfo[playerid][pSpecialObjects][3], Current_Vehicle[playerid], 0.0, 2.5, -0.4, 0.0, 90.0, 90.0);
or you mean after the texture is streamed to your client? because that code^ works fine
Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
Yes, set the texture first, then attach it. Works absolutely fine.
Posts: 913
Threads: 70
Joined: Apr 2009
Reputation:
0
Anyway i used PlayerObject.
I don't test it with global object
Posts: 918
Threads: 125
Joined: Nov 2010
Wel ive se en something like this. For example if you attach two neon lights to eachother and they are all blue. The attached onces become white or like textureless.