24.06.2013, 08:29
first add :
on the top of the script.
For the command, use this
To delete this, you'll need to add
rep me if i helped
PHP код:
new Text3D: playertextid[MAX_PLAYERS]
For the command, use this
PHP код:
if(strcmp(cmd, "/playerlabel", true) == 0)
{
playertextid= Create3DTextLabel("Hello\nI'm at your position",0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(playertextid[playerid], playerid, 0.0, 0.0, 0.4);
return 1;
}
PHP код:
Delete3DTextLabel(playerid, playertextid);