Quote:
Originally Posted by Incognito
See if this is fixed in the newest revision.
Added:
pawn Код:
native GetDynamicObjectMaterialText(objectid, materialindex, text[], &materialsize, fontface[], &fontsize, &bold, &fontcolor, &backcolor, &textalignment, maxtext = sizeof text, maxfontface = sizeof fontface); native SetDynamicObjectMaterialText(objectid, materialindex, const text[], materialsize = OBJECT_MATERIAL_SIZE_256x128, const fontface[] = "Arial", fontsize = 24, bold = 1, fontcolor = 0xFFFFFFFF, backcolor = 0, textalignment = 0);
|
Yes, now works fine, thanks. Sorry for this late response.
Also, Set/GetDynamicObjectMaterialText should have as first paramers these:
Код:
(objectid, text[], materialindex
not
Код:
(objectid, materialindex, text[]
To be easier to transform (just changing SetObjectMaterialText to SetDynamicObjectMaterialText).
https://sampwiki.blast.hk/wiki/SetObjectMaterialText