From db655f7980049b7d0394bdba2bf3e85361f1ead6 Mon Sep 17 00:00:00 2001 From: Cifra Date: Tue, 21 Jan 2025 04:35:13 -0300 Subject: [PATCH] Update SetObjectMaterialText.md "OBJECT_MATERIAL_TEXT_ALIGN_CENTER" Exceeds the compiler character limit! I changed it to "OBJECT_MATERIAL_TEXT_ALIGN_CENT". --- docs/scripting/functions/SetObjectMaterialText.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/scripting/functions/SetObjectMaterialText.md b/docs/scripting/functions/SetObjectMaterialText.md index 625dc25e120..1738f455dbe 100644 --- a/docs/scripting/functions/SetObjectMaterialText.md +++ b/docs/scripting/functions/SetObjectMaterialText.md @@ -36,7 +36,7 @@ public OnPlayerCommandText(playerid, cmdtext[]) if (strcmp("/text", cmdtext, true) == 0) { new objectId = CreateObject(19353, 0, 0, 10, 0.0, 0.0, 90.0); //create the object - SetObjectMaterialText(objectId, "SA-MP {FFFFFF}0.{008500}3.{FF8200}DL", 0, OBJECT_MATERIAL_SIZE_256x128, "Arial", 28, false, 0xFFFF8200, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER); + SetObjectMaterialText(objectId, "SA-MP {FFFFFF}0.{008500}3.{FF8200}DL", 0, OBJECT_MATERIAL_SIZE_256x128, "Arial", 28, false, 0xFFFF8200, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENT); // write "SA-MP 0.3.DL" on the object, with orange font color and black background return 1; }