Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Changing a player's name.
« previous
next »
Print
Pages: [
1
]
Author
Topic: Changing a player's name. (Read 1325 times)
IbanX
September 16, 2007, 02:36:17 AM
Say I want the name to be:
Quote
(SomeVar)<NAME>
which looks like, for instance:
Quote
(Blockheaded) Iban
How would I do this?
Ad Bot
Advertisement
Space Guy
September 16, 2007, 02:57:19 AM
%client.player.setShapeName("[Blockhead]" SPC %client.name); //[Blockhead] Space Guy
%client.player.setShapeNameColor("1 1 1 1"); //White
That lasts until they die/respawn, or possibly in LAN games if you change your name.
BattleKon001
September 16, 2007, 03:02:25 AM
so say if a user steps on this bricks that script could be used to change there name?
Space Guy
September 16, 2007, 03:05:43 AM
You would have to change %client.player for %obj or the player object, and %client for %obj.client or the player's .client, but yes, it would work.
IbanX
September 16, 2007, 03:30:19 AM
Awesome.
BattleKon001
September 16, 2007, 03:31:58 AM
Win
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Changing a player's name.