Author Topic: Changing a player's name.  (Read 1325 times)

Say I want the name to be:

Quote
(SomeVar)<NAME>

which looks like, for instance:

Quote
(Blockheaded) Iban

How would I do this?

%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.

so say if a user steps on this bricks that script could be used to change there name?

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.