Blockland Forums > Modification Help

Get player's name color from %obj?

Pages: (1/2) > >>

tyler0:

How can i grab the player's name color from an %obj?

tyler0:

I have set name color %obj.getShapeNameColor

Headcrab Zombie:

Give more information. What type of object is %obj?
A player? %obj.client.getPlayerName()
A brick? %obj.getGroup().client.getPlayerName()
A vehicle that the player is riding? No idea.

Munkey:


--- Quote from: Headcrab Zombie on July 19, 2011, 03:53:16 AM ---Give more information. What type of object is %obj?
A player? %obj.client.getPlayerName()
A brick? %obj.getGroup().client.getPlayerName()
A vehicle that the player is riding? No idea.

--- End quote ---
I believe a vehicle is %obj.getMountedObject() or something.

lordician:


--- Quote from: Headcrab Zombie on July 19, 2011, 03:53:16 AM ---Give more information. What type of object is %obj?
A player? %obj.client.getPlayerName()
A brick? %obj.getGroup().client.getPlayerName()
A vehicle that the player is riding? No idea.

--- End quote ---
Do mind that he wants the color off the name, not only the name.

Pages: (1/2) > >>

Go to full version