17.05.2015, 18:23
@Trucido: You'd have to set attachedplayer parameter to playerid instead of INVALID_PLAYER_ID. Also the parameters you used above are the old ones, update streamer plugin.
pawn Код:
native 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);
pawn Код:
// I hope you didn't try to create the 3D label on connect
new Float: x, Float: y, Float: z;
GetPlayerPos(playerid, x, y, z);
TitleLabel[playerid] = CreateDynamic3DTextLabel("< Admin >", -1, x, y, z, 40.0, playerid);