Author Topic: Hide player names  (Read 3600 times)

I'm building some night-time deathmatch citywith Skullrape, and what we really need now is the ability to hide the player name tags, so people can sneak around and hide. Is there a mod for this that I've missed or is it a possible new feature?

You can hide player names using F5, but that's only for you.
I don't know of a mod that hides all player names.

Code: [Select]
package HideNames{
function serverCmdToggleNames(%client){
if(%client.isSuperAdmin){
if($HidePlayerNames){
messageClient(%client, '', 'Player names ON.');
$HidePlayerNames = 0;
for(%i=0;%i<ClientGroup.getCount();%i++){
%cl = ClientGroup.getObject(%i);
if(isObject(%cl.player)){
%cl.player.setShapeName(%cl.name);
}
}
} else {
messageClient(%client, '', 'Player names OFF.');
$HidePlayerNames = 1;
for(%i=0;%i<ClientGroup.getCount();%i++){
%cl = ClientGroup.getObject(%i);
if(isObject(%cl.player) && isObject(%cl.minigame)){
%cl.player.setShapeName("");
}
}
}
}
}
function GameConnection::spawnPlayer(%this){
Parent::spawnPlayer(%this);
if($HidePlayerNames && isObject(%this.minigame)){
%this.player.setShapeName("");
}
}
};
ActivatePackage(HideNames);

I have a script file that all you have to do is type in chat, "/toggleplayernames" I don't remember who made it though.


I have a script file that all you have to do is type in chat, "/toggleplayernames" I don't remember who made it though.

Now does that hide the names for everyone?

Linde, where did you get that awesome avatar. It takes me way back to when I was about 4-5 when I used to play Atari. I can't remember the game name but I know it was from some sort of skiing game.  :cookieMonster:

Yeah, it's the best skiing game out there, and it is the only one I know where you inevitably get eaten by a monster: http://ski.ihoc.net/

Brings back good memories.  :panda:

ya......win 95...still have on e of those things

holy stuff i used to play that game on my grandma's computer.

I have a script file that all you have to do is type in chat, "/toggleplayernames" I don't remember who made it though.

Now does that hide the names for everyone?

Yes.

ya......win 95...still have on e of those things


i have like 3 windows 95s and the all work but not with blockland thats  :panda: ing stupid