25.05.2018, 22:49
Hey guys so I'm trying to create a 3D textlabel with Incognito's streamer, and attach it to a player like this:
But the 3DLabel is not even being created. Creating the labels without trying to attach them works, but when I put 'playerid' or something in the native to attach it, it won't even create.
Thanks for your help.
PHP код:
//top
new Text3D:PlayerNametag[MAX_PLAYERS];
//---------
//This is a cmd for example:
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
PlayerNametag[playerid] = CreateDynamic3DTextLabel("Suspect", 0xAA3333AA, x, y, z, 20.0, playerid);
Thanks for your help.