Forum




players can not enter USGN
7 replies



1
2
3
4
5
6
7
2
3
4
5
6
7
addhook("join","noUSGN") function noUSGN(id) 	if player(id,"usgn")>0 then 		timer(1,'parse','kick '..id..' "Only non-USGN players can join the server."') 	end end

There is no setting to block non-USGN players to join your server.
That's wrong.

Quote
There is no setting to block non-USGN players to join your server.
That is absolutely wrong, when you see Server settings, on the first page there is a thing called Registered USGN Users only
Well, allow only people with usgn to join is easy. Just make sure to tick the Registered USGN Users only box.
And the script
1
2
3
4
5
6
7
2
3
4
5
6
7
addhook("join","noUSGN") function noUSGN(id) if player(id,"usgn")>0 then timer(1,'parse','kick '..id..' "Only non-USGN players can join the server."') end end
Will block all USGN users, in which that 100% doesn't fit the need of pbeloto.

If you host your server in a VPS, try to download another copy of Counter-Strike 2D and search for the "usgn.dat" file (without quotes) in the CS2D folder that you downloaded it and replace this file into cs2d/sys location folder on your VPS machine using FileZilla or WinSCP.
Actually I never experienced such issue like this, but the fix above that I posted it might help in some cases but I am not 100% sure however.



