Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

About Streamer_SetFloatData

$
0
0
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?
Code:

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


Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>