25.11.2012, 14:23
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;
}

