[Issue] Object material texture gone if you attach to vehicle
#1

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.
Reply
#2

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
Reply
#3

Yes, set the texture first, then attach it. Works absolutely fine.
Reply
#4

Anyway i used PlayerObject.
I don't test it with global object
Reply
#5

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)