3dTextLabel above head
#7

@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);
Reply


Messages In This Thread
3dTextLabel above head - by SiNuS - 17.05.2015, 16:27
Re: 3dTextLabel above head - by Konstantinos - 17.05.2015, 16:29
Re: 3dTextLabel above head - by SiNuS - 17.05.2015, 17:18
Re: 3dTextLabel above head - by n0minal - 17.05.2015, 17:20
Re: 3dTextLabel above head - by SiNuS - 17.05.2015, 17:40
Re: 3dTextLabel above head - by Trucido - 17.05.2015, 18:15
Re: 3dTextLabel above head - by Konstantinos - 17.05.2015, 18:23
Re: 3dTextLabel above head - by Trucido - 17.05.2015, 18:44

Forum Jump:


Users browsing this thread: 2 Guest(s)