Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let me = MPP.client.getOwnParticipant();
- var hasOtherDiv = false;
- var nameDiv = document.createElement("div");
- var tagText = typeof me.tag === 'object' ? me.tag.text : me.tag;
- if (tagText === 'Æ') nameDiv.title = 'This player is an Anonydiamond.';
- hasOtherDiv = true;
- var tagDiv = document.createElement("div");
- tagDiv.className = "Æ";
- tagDiv.textContent = "Æ";
- tagDiv.style.backgroundColor = 'FDD700';
- tagDiv.id = me.id;
- me.nameDiv.appendChild(tagDiv);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement