SA-MP Forums

SA-MP Forums (https://forum.sa-mp.com/index.php)
-   Scripting Help (https://forum.sa-mp.com/forumdisplay.php?f=12)
-   -   BIG Label (https://forum.sa-mp.com/showthread.php?t=668690)

playstores 15/08/2019 02:36 PM

BIG Label[done]
 
How to add Big labels like that ? https://i.imgur.com/tR5WwoL.png


Doesn't work with Create3DTextLabel cuz you can't change the Size


/// got it thx

HZ 15/08/2019 03:34 PM

Re: BIG Label
 
Quote:

Originally Posted by playstores (Post 4110018)
How to add Big labels like that ? https://i.imgur.com/tR5WwoL.png


Doesn't work with Create3DTextLabel cuz you can't change the Size

It's not a label, it's text on object - https://wiki.sa-mp.com/wiki/SetObjectMaterialText

Robson04 15/08/2019 04:39 PM

Re: BIG Label
 
Yaaas, this is object. You can use materialtext function to create this.

playstores 15/08/2019 04:56 PM

Re: BIG Label
 
Well I did this, but I get the error 213 Tag Mismatch (at SetPlayerObjectMaterialText)


(Yes its defined as PlayerText3D)

PlayerInfo[i][mylabel]= CreatePlayer3DTextLabel(i,"Air ",-1,-123.2671,-1587.2471,82.0749,300.0,1);


SetPlayerObjectMaterialText(i, PlayerInfo[i][mylabel],string, 0, OBJECT_MATERIAL_SIZE_256x128,\"Arial", 28, 0, 0xFFFF8200, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);

playstores 15/08/2019 05:57 PM

Re: BIG Label
 
//up

Robson04 15/08/2019 07:12 PM

Re: BIG Label
 
You must create object, no 3dtext.


All times are GMT. The time now is 11:23 PM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.