پرش به مطلب اصلی

SetPlayer3DTextLabelVirtualWorld

هشدار

This function was added in omp v1.1.0.2612 and will not work in earlier versions!

توضیحات​

virtual world id مربوط به 3D text label پلیر رو تنظیم می‌کنه.

نامتوضیحات
playeridآیدی پلیر
PlayerText3D:textidآیدی 3D text label پلیر که virtual world اون رو می‌خوایم تنظیم کنیم
virtualWorldvirtual world که توش می‌تونی 3D Text رو ببینی

مثال‌ها​

new PlayerText3D:playerTextId;
new Float:X, Float:Y, Float:Z;

GetPlayerPos(playerid, X, Y, Z);
playerTextId = CreatePlayer3DTextLabel(playerid, "Hello\nI'm at your position", 0x008080FF, X, Y, Z, 40.0);

SetPlayer3DTextLabelVirtualWorld(playerid, playerTextId, 60);

نکات​

هشدار

برای player 3D text label ها virtual world پشتیبانی نشده. این تابع هیچ کاری نمی‌کنه و اصلاً کار نمی‌کنه!

توابع مرتبط​