Forum

> > CS2D > Scripts > How to hide player`s name?
Forums overviewCS2D overview Scripts overviewLog in to reply

English How to hide player`s name?

16 replies
To the start Previous 1 Next To the start

old How to hide player`s name?

StirlizZ-Fapicon
Super User Off Offline

Quote
Hi US, I need your help. I tried to find it with Search function and I think this time I first with that problem. It`s possible to hide player`s nickname, when he under my pointer?


For example, I want to hide his nickname here:
IMG:https://cs317016.vk.me/v317016976/76fa/5q1eVkkedss.jpg

old Re: How to hide player`s name?

StirlizZ-Fapicon
Super User Off Offline

Quote
Okay, so this is the problem:
We making script about building base and defence it against unknown player (random enemy from your team). I need to hide name of player, who attacks you. There is any ways to solve this?

old Re: How to hide player`s name?

Necr0
User Off Offline

Quote
You could just rotate the names or set them to be random strings every ms100 or such thing.
CODE >

this should work but i have no idea if the string.rnd function works

old Re: How to hide player`s name?

Necr0
User Off Offline

Quote
CODE >

@user Alistaire: Why? If the script resets the score and deaths of every player it should work.

old Re: How to hide player`s name?

StirlizZ-Fapicon
Super User Off Offline

Quote
@user DC: , but how to use it?

I tried different ways:

setname <id> <name> <1>
setname <id>[1] <name>
etc.

nothing works.

For example I want to change Player`s nick (id 3) to DC

1
setname 3 0 DC
?

old Re: How to hide player`s name?

DC
Admin Off Offline

Quote
yeah, the quotes are crucial in this case otherwise CS2D doesn't know if the 1 at the end belongs to the name or is just another parameter.

The command works fine.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview