SetObjectMaterialText + %d ? - 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: SetObjectMaterialText + %d ? (
/showthread.php?tid=402371)
SetObjectMaterialText + %d ? -
kesem140599 - 26.12.2012
HeyAll !
i Want to Do a Signboard With Score, Like : Red %d, Blue %d
amm... i dont know how to do it ... Look, My " new " its , ASc + BSc..
here is a code for example..
PHP код:
if (strcmp("/text", cmdtext, true) == 0){new myobject = CreateObject(19353, 0, 0, 10, 0.0, 0.0, 90.0); //create the objectSetObjectMaterialText(myobject, "Red %d {FFFFFF}", 0, OBJECT_MATERIAL_SIZE_256x128,\"Arial", 28, 0, 0xFFFF8200, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER, ASc);// write "SA-MP 0.3e RC7" on the object, with orange font color and black backgroundreturn 1; }
Example ..
You See guys?
Its Do Number OF Argument..
what to do..?