Blockland Forums > Modification Help

Script_Disappear

Pages: << < (2/3) > >>

Kalphiter:


--- Quote from: Katadeus on June 07, 2011, 06:01:06 PM ---Found another problem.
if(%!client.isSuperAdmin) changed to if(!%client.isSuperAdmin), and that fixed it partially, but it still doesn't WORK.

--- End quote ---
Super Admins can't do the command, but everyone else can?

Katadeus:

Oh...
I really don't know what I am doing, do I?
That's the exclamation point, isn't it?
Deleting...
At this stage, the script reads as follows.

function serverCmdDisappear(%client)
{
   if(%client.isSuperAdmin)
   {
      %player.hideNode("head");
   }
}

Kalphiter:

%player isn't defined

Katadeus:

Should it be %client.player?

Kalphiter:


--- Quote from: Katadeus on June 07, 2011, 06:09:12 PM ---Should it be %client.player?

--- End quote ---
Yes

Pages: << < (2/3) > >>

Go to full version