How to write letters on objects ? - 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: How to write letters on objects ? (
/showthread.php?tid=491808)
How to write letters on objects ? -
barts - 01.02.2014
I saw in 1 server so i want to do it
Re: How to write letters on objects ? -
Jessyy - 01.02.2014
good luck...
Re: How to write letters on objects ? -
]Rafaellos[ - 01.02.2014
Search is not bad. Check
THIS.
Re: How to write letters on objects ? -
Beckett - 01.02.2014
SetObjectMaterialText.
Re: How to write letters on objects ? -
Marsss - 06.09.2014
Example script from Wiki
Код:
if (strcmp("/text", cmdtext, true) == 0)
{
new myobject = CreatePlayerObject(playerid, 19353, 0, 0, 10, 0.0, 0.0, 90.0); //create the object
SetPlayerObjectMaterialText(playerid, myobject, "SA-MP {FFFFFF}0.3{008500}e {FF8200}RC7", 0, OBJECT_MATERIAL_SIZE_256x128,\
"Arial", 28, 0, 0xFFFF8200, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
// write "SA-MP 0.3e RC7" on the object, with orange font color and black background
return 1;
}