or nothing?DeadLabel[playerid] = CreateDynamic3DTextLabel("{337BF0}[dead]", COLOR_WHITE, 0, 0, -20, 20, playerid);
Streamer_SetFloatData(STREAMER_TYPE_3D_TEXT_LABEL, DeadLabel[playerid] , E_STREAMER_ATTACH_OFFSET_Z, 0.31); // this is the line that i say
|
Hello, i'm new in scripting world and i see this thing in my gamemode when a player die, is creat a dynamic 3dtextlabe, and i want to now what is this code (Streamer_SetFloatData)
Is for attach? Because i see others that are using only CreateDynamic3dTextLabel and they are done, just this, without Streamer_SetFloatData. I only want just to know if i should use? or in return should i use just (Attach3DTextLabelToPlayer(test, playerid, 0.0, 0.0, 0.7) or nothing?Код:
DeadLabel[playerid] = CreateDynamic3DTextLabel("{337BF0}[dead]", COLOR_WHITE, 0, 0, -20, 20, playerid);
Streamer_SetFloatData(STREAMER_TYPE_3D_TEXT_LABEL, DeadLabel[playerid] , E_STREAMER_ATTACH_OFFSET_Z, 0.31); // this is the line that i say
|
Text3D:CreateDynamic3DTextLabel(const text[], color, Float:x, Float:y, Float:z, Float:drawdistance, attachedplayer = INVALID_PLAYER_ID, attachedvehicle = INVALID_VEHICLE_ID, testlos = 0, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0);
DeadLabel[playerid] = CreateDynamic3DTextLabel("{337BF0}[dead]", COLOR_WHITE, 0, 0, -20, 20, playerid);