Get3DTextLabelLOS
هشدار
This function was added in omp v1.1.0.2612 and will not work in earlier versions!
توضیحات
line-of-sight 3D text label رو میگیره.
نام | توضیحات |
---|---|
Text3D:textid | ID 3D text label که میخوایم line-of-sight اش رو بگیریم. |
برگشتی
line-of-sight 3D text label رو به صورت boolean (false
/true
) برمیگردونه.
مثالها
new Text3D:gMyLabel;
new bool:testLOS;
gMyLabel = Create3DTextLabel("Hello World!", 0x008080FF, 30.0, 40.0, 50.0, 10.0, 0, true);
testLOS = Get3DTextLabelLOS(gMyLabel);
// testLOS = true
توابع مرتبط
- Set3DTextLabelLOS: تنظیم line-of-sight 3D text label.
- GetPlayer3DTextLabelLOS: گرفتن line-of-sight player 3D text label.