Blockland Forums > Modification Help
Shapename for admin on the player's head text above
(1/5) > >>
Cubelands:
This my idea write script. I am not sure If this correct. This about Host, SA and admin text above player's head above of the text.

--- Code: ---package Script_AdminHead

{

   

     function (%client)

 {

  if($Pref::AdminN::enabled)

   %client.Admin.setShapeName(%client.name);

  parent::mountPoint = $HeadSlot(%client)

  datablock StaticShapeData(HostName)

{

 mountPoint = $HeadSlot; = "setShapename"Host";

}

};

activatepackage(Script_AdminHead);

datablock StaticShapeData(SuperAdminName)

{

 mountPoint= $HeadSlot = setShapeName"SuperAdmin";

}

datablock StaticShapeData(AdminName)

{

 mountPoint= $HeadSlot = setShapeName"Admin";

 

};

datablock StaticShapeData(BrickTextEmptyShape)

{
--- End code ---
This script are wrong, I know it. I made mistake writing this.
The display picture, I use bricktext event on my head above of the text. This look like, that what I want like this.

Instead use chat message who is host or SA whatever.
420:
Sorry, player shapenames have been gone for a long time.  It can't be done as far as I know.


edit: also your code...ew.
Greek2me:
People have been working around it by mounting a bot or something to the player's head and then setting the shapename on that.
Cubelands:

--- Quote from: Greek2me on April 30, 2012, 09:19:06 PM ---People have been working around it by mounting a bot or something to the player's head and then setting the shapename on that.

--- End quote ---
correct, Brian smith did successfull make his mod brickbuddy. That what I am try writing this.

 
--- Quote from: 420 on April 30, 2012, 09:17:38 PM ---edit: also your code... not very good
mountPoint = $HeadSlot; = "setShapename"Host";

and wtf is this
%client.Admin.setShapeName(%client.name);

--- End quote ---
I know, That reason, I made thread here for help.
420:

--- Quote from: Cubelands on April 30, 2012, 09:23:52 PM ---correct, Brian smith did successfull make his mod brickbuddy. That what I am try writing this.

--- End quote ---

How long have you been scripting for this code looks very amateur
Navigation
Message Index
Next page

Go to full version