Blockland Forums > Modification Help
Script_Disappear
<< < (3/3)
Katadeus:
Thanks.
It now reads as follows.
function serverCmdDisappear(%client)
{
   if(%client.isSuperAdmin)
   {
      %client.player.hideNode("head");
   }
}
However, it doesn't work!
MegaScientifical:

--- Quote from: Katadeus on June 07, 2011, 06:14:44 PM ---Thanks.
It now reads as follows.
function serverCmdDisappear(%client)
{
   if(%client.isSuperAdmin)
   {
      %client.player.hideNode("head");
   }
}
However, it doesn't work!

--- End quote ---

headskin
Katadeus:
Aha!
Got it to work!
Changed node from "head" to "ALL" which was what I wanted in the first place.
Thanks for your help, Kalphiter and MegaScientifical!
Kalphiter:
it's "headSkin" if you want to hide the hide anyway
Katadeus:
I started out with "All" then changed to "ALL" then changed to "head" because I irrationally thought that it was because of "ALL" that it wasn't working.
Navigation
Message Index
Previous page

Go to full version