SA-MP Forums Archive
Problem SetObjectMaterialText - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Problem SetObjectMaterialText (/showthread.php?tid=372960)



Problem SetObjectMaterialText - cotyzor - 28.08.2012

pawn Код:
new swall = CreateDynamicObject(9819,1744.80004883,-1838.69995117,13.35999966,0.00000000,0.00000000,0.00000000); //object(shpbridge_sfw02) (1) Wall de proba

SetObjectMaterialText(swall, "Server {FFFFFF}SAMP{008500}v {FF8200}0.3", 0, OBJECT_MATERIAL_SIZE_256x128,\
"Arial", 28, 0, 0xFFFF8200, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
When I enter in game the text doesn't appear


Re: Problem SetObjectMaterialText - RenSoprano - 28.08.2012

Try this

Код:
SetObjectMaterialText(swall, "Server {FFFFFF}SAMP{008500}v {FF8200}0.3", 0, OBJECT_MATERIAL_SIZE_256x128, "Arial", 32, false, 0xFFFF8200, 0xFF000000, 1);



Re: Problem SetObjectMaterialText - cotyzor - 28.08.2012

No changes