Author Topic: Code for Player's Name  (Read 975 times)

I naeed the code for the players name, for example;
.clanSuffix   and  .clanPrefix

I was wondering what is the code for the player's name?

.name or the more preferred .getPlayerName();


.name or the more preferred .getPlayerName();
fcbn("name").name("new name");?

You cannot set a players name.

You cannot set a players name.
Without hackish code that causes auth fails.


Tom

.name would cause auth fails too.

fcbn("name").name("new name");?
Also fcbn(); is not a built in function.

%client.name is a deprecated variable and will probably be removed in some future version of Blockland. Use %client.getPlayerName() instead.

%client.name cannot be edited while in a game.

Without hackish code that causes auth fails.

You mean the kind of code that a hacker did in mah server to change mranthony's name to nothing?

%client.name is a deprecated variable and will probably be removed in some future version of Blockland. Use %client.getPlayerName() instead.

%client.name cannot be edited while in a game.
Also in theory you could package .getPlayerName() to return other things which would be nice but causes authfails. I'm still thinking if I can somehow bypass that (so RP mods can package chat less and be more complete in their coverage).

Also in theory you could package .getPlayerName() to return other things which would be nice but causes authfails. I'm still thinking if I can somehow bypass that (so RP mods can package chat less and be more complete in their coverage).
Packaging it works on a single player server.