23.06.2013, 21:57
i need help with player3dtext label i found this on wiki but i dont find how to change it to when player type /playerlabel
then it ask for costume text not only 'm at your position"
like this /playerlabel playertext
and also how to destroy this label ? please help
then it ask for costume text not only 'm at your position"
like this /playerlabel playertext
and also how to destroy this label ? please help
Код:
if(strcmp(cmd, "/playerlabel", true) == 0)
{
new PlayerText3D:playertextid;
new Float:X, Float:Y, Float:Z;
GetPlayerPos( playerid, X, Y, Z );
playertextid = CreatePlayer3DTextLabel(playerid,"Hello\nI'm at your position",0x008080FF,X,Y,Z,40.0);
return 1;
}

