Quote:
Originally Posted by callimuc
here i found this script:
PHP Code:
//#CLIENTSIDE
function onPlayerChats() {
if (player.chat == "/stealth") {
if (player.alpha == 1)
triggerserver("gui",this.name,"SetStealth",0);
else
triggerserver("gui",this.name,"SetStealth",1);
}
}
but for some reason player can still see your name. i also tried like:
PHP Code:
if (player.alpha == 1)
|
player.alpha does not affect the player's name. My recommendation would be to set the player's name to "" on serverside, or use hidePlayer.