SetObjectMaterialText
#1

Hi,

When i setobjectmaterialtext object material is that what was before setting setobjectmaterialtext? because i need to getobjectmaterial in some ways, i use icognito streamer also.
Reply
#2

Your wording didn't make sense at all but there's a function which returns the object's material if you use icognito's streamer.

pawn Код:
new model, txdname[45], texturename[45], color;
GetDynamicObjectMaterial(objectid, 0, model, txdname, texturename, color, 45, 45);
Reply
#3

I mean when you use this function

SetDynamicObjectMaterialText

Object material still left the same i mean if i use

Код:
new model, txdname[45], texturename[45], color;
GetDynamicObjectMaterial(objectid, 0, model, txdname, texturename, color, 45, 45);
SetDynamicObjectMaterialText( ... );
GetDynamicObjectMaterial(objectid, 0, model, txdname, texturename, color, 45, 45);
Reply
#4

So you want to reset the material upon setting the text?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)