SetObjectMaterialText
#3

Howdy mate, you've used CreateDynamicObject which is a function from the streamer, however you used the SetObjectMaterial which is the normal SA-MP function, therefore it won't work on dynamic objects. Anyways, in case you want to use the streamed objects with material text, this is the function:

pawn Код:
SetDynamicObjectMaterialText(objectid, materialindex, const text[], materialsize = OBJECT_MATERIAL_SIZE_256x128, const fontface[] = "Arial", fontsize = 24, bold = 1, fontcolor = 0xFFFFFFFF, backcolor = 0, textalignment = 0);
Hope that helped
Reply


Messages In This Thread
[SOLVED]SetObjectMaterialText - by superrobot48 - 04.05.2014, 05:40
Re: SetObjectMaterialText - by MaxBerger - 04.05.2014, 07:27
Re: SetObjectMaterialText - by Blast3r - 04.05.2014, 07:32
Re: SetObjectMaterialText - by superrobot48 - 04.05.2014, 07:53

Forum Jump:


Users browsing this thread: 1 Guest(s)