Dynamic3DTextLabel disappear in a certain time.
#5

Quote:
Originally Posted by Debjit
Посмотреть сообщение
Which version of streamer you are using.
Syntax for CreateDynamic3DTextLabel in latest verison is:
PHP код:
CreateDynamic3DTextLabel(const text[], colorFloat:xFloat:yFloat:zFloat:drawdistanceattachedplayer INVALID_PLAYER_IDattachedvehicle INVALID_VEHICLE_IDtestlos 0worldid = -1interiorid = -1playerid = -1Float:streamdistance STREAMER_3D_TEXT_LABEL_SDSTREAMER_TAG_AREA areaid STREAMER_TAG_AREA -1priority 0
Here is a tip
PHP код:
if(IsAdminOnDuty[playerid])
//Instead of formatting it and createing it in each matrix, you can simply format it in each matrix and then Create the Text.
    
{
        
format(szNamesizeof(szName), "{9ACD32}Administrator{FFFFFF}\n%s (%d)"GetPlayerNameEx(playerid), playerid);
        
    }
    else
    {
        
format(szNamesizeof(szName), "{BBBBBB}Survivor{FFFFFF}\n%s (%d)"GetPlayerNameEx(playerid), playerid);
        
    }
TagName[playerid]  = CreateDynamic3DTextLabel(szName0xFFFFFFFF0.00.00.040.0, .attachedplayer playerid, .testlos 1);//you dont need to write .attachedplayer =, instead you can simply put the value at that place. 
Quote:
Originally Posted by Debjit
Посмотреть сообщение
Then try this
PHP код:
CreateDynamic3DTextLabel(szName0xFFFFFFFF00040.0playeridINVALID_VEHICLE_ID0, -1, -1, -1100.0); 
the code of yours doesnt fix the problem lol you it's the same code I did there.
anyways thank you.
Reply


Messages In This Thread
Dynamic3DTextLabel disappear in a certain time. - by ToiletDuck - 19.10.2017, 00:05
Re: Dynamic3DTextLabel disappear in a certain time. - by Zeth - 19.10.2017, 03:32
Re: Dynamic3DTextLabel disappear in a certain time. - by ToiletDuck - 19.10.2017, 05:51
Re: Dynamic3DTextLabel disappear in a certain time. - by Zeth - 19.10.2017, 05:58
Re: Dynamic3DTextLabel disappear in a certain time. - by ToiletDuck - 19.10.2017, 06:57
Re: Dynamic3DTextLabel disappear in a certain time. - by TitoRayne - 19.10.2017, 08:02

Forum Jump:


Users browsing this thread: 1 Guest(s)