Forum

> > CS2D > Scripts > Look USGN ID
Forums overviewCS2D overview Scripts overviewLog in to reply

English Look USGN ID

10 replies
To the start Previous 1 Next To the start

old Look USGN ID

GooDCaT
User Off Offline

Quote
Guys wanted a script when you type

!supervise (ID)

Would display the USGN

Someone please do?

old Re: Look USGN ID

Starkkz
Moderator Off Offline

Quote
1
2
3
4
5
6
7
8
9
10
addhook("say","onSay")
function onSay(id,txt)
	if string.sub(txt,1,10) == "!supervise" then
		local p = tonumber(string.sub(txt,12))
		if p and player(p,"exists") then
			msg2(id,player(p,"name").."'s USGN is "..player(p,"usgn"))
		end
		return 1
	end
end

old Re: Look USGN ID

dENd
User Off Offline

Quote
or just hold TAB , hover mouse over name a voila the usgn id

old Re: Look USGN ID

palomino
User Off Offline

Quote
user dENd has written
or just hold TAB , hover mouse over name a voila the usgn id

No. It's the client ID, not the US ID.

old Re: Look USGN ID

DC
Admin Off Offline

Quote
no, the scoreboard also shows the usgn id when you hover a player - but you have to be the server for that to work.

old Re: Look USGN ID

Yates
Reviewer Off Offline

Quote
user DC has written
but you have to be the server for that to work.

You mean if you have the RCon? As I can view everyone's IP and USGN via the scoreboard and I'm not the server.

old Re: Look USGN ID

DC
Admin Off Offline

Quote
I said you have to be the server and I meant you have to be the server (opened using the client, not the dedicated, and using new game!)

you can't see it in the scoreboard if you JOIN a server (no matter if it is yours or a random server or if it is dedicated or listen or if you have rcon or not)

this all doesn't matter anyway because he asked for a special script.

old Re: Look USGN ID

DC
Admin Off Offline

Quote
strange. then my memory played a trick on me. I was pretty sure that clients never receive this data (ip + usgn id). huh. sorry that I said something wrong.

oh wait: did you also try this with other players than yourself? might make a difference - not sure though.

old Re: Look USGN ID

Yates
Reviewer Off Offline

Quote
@user DC: to receive this data I must enter the RCon then on the esc menu I must click on Players & Bans. If I don't do this I never receive the data.

(Weird thing with Players & Bans is I only see the players. And not the bans).

And yes, I did try it with other players, that works as well. Yet I made a screen of my own USGN and IP (Blurred like a boss) for privacy reasons of course.

old Re: Look USGN ID

sheeL
User Off Offline

Quote
Maybe, but DC I bet he does not want this script to see ... but to see the other players ... this possibility
And it has to turn to see the rcon USGN, IP of players
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview