[Bug] AttachPlayer3DTextLabel disappears automatically
#8

Use this:
pawn Код:
#define FILTERSCRIPT

#include <a_samp>

new Text3D:TestLabel[MAX_PLAYERS];

public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/TestLabel", cmdtext, true) == 0)
    {
        new Float:X, Float:Y, Float:Z;
        GetPlayerPos(playerid, X, Y, Z);
        TestLabel[playerid] = CreateDynamic3DTextLabel("Label test",0xc2a2daFF,X,Y,Z,playerid,INVALID_VEHICLE_ID,1);
        return 1;
    }
    return 0;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)