Forum

> > CS2D > General > Admin Panel
Forums overviewCS2D overviewGeneral overviewLog in to reply

English Admin Panel

64 replies
Page
To the start Previous 1 2 3 4 Next To the start

old Re: Admin Panel

Kaka024
User Off Offline

Quote
I have one bug:
If i know it good, i need to write admins by USGN addresses. So admin needs an usgn account. I got it, but ALWAYS when i join MY server because its dedicated, it says that i dont have an usgn account. Could be that made also for ips? I really wanna try this!

old Re: Admin Panel

Informatixa
User Off Offline

Quote
ok, I will install a system for ip admin on beta 5

us Beta 5
     ∗ Say Command !msg
     IMG:https://photomaniak.com/upload/out.php/t662291_Sanstitre.jpg


     ∗ Menu Admin
     IMG:https://photomaniak.com/upload/out.php/t662292_Sanstitre2.jpg


     ∗ Bots
     IMG:https://photomaniak.com/upload/out.php/t662293_Sanstitre3.jpg


Beta 5 available
     × http://www.mediafire.com/?ogjzzdfyztx [old]
     × http://www.mediafire.com/?jntmze3ltdn [old]
     √ http://www.mediafire.com/?qgtjmt5dqgy [old]

> Ps: On the Beta 6 I will probably incorporate a system of language (English, french, german)
edited 6×, last 27.11.09 09:02:31 am

old Re: Admin Panel

Zune5
COMMUNITY BANNED Off Offline

Quote
I was using admin, hit weapons and nothing showed up.

old Re: Admin Panel

CineRuSS
User Off Offline

Quote
Is that right ? while ist dont work
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
----------------------------------------------------
-- Some MetaAdmin by Informatixa, MetaGamerz Team --
-- 22.04.2009 - www.metagamerz.net                --
----------------------------------------------------

admins = {}

-----------------------------------------------------------------------------
-- To configure a player, assign permissions to them in the following way: --
-- 1 (admin)                                                               --
-- 2 (superadmin)                                                          --
--                                                                         --
-- admins["USGN_ID"] = x                                                   --
-- or                                                                      --
-- admins["IP"] = x                                                   --
-----------------------------------------------------------------------------

admins["4471"] = 2

old Re: Admin Panel

Lee
Moderator Off Offline

Quote
check the sourcecode for the occurrence of pairs(admins) (there should only be one) and under the loop, look to see if there's a tonumber() function. If there isn't, use the following instead. player(x, "usgn") returns either a number or nil. Lua does not automatically typecast datatypes for you.

admins[4471] = 2 -- no quotes

old Re: Admin Panel

Kaka024
User Off Offline

Quote
Got new bug. SMG equip function doesn't work. Repair it plz

@edit
and in the clock it's 011:21PM (for e.g)
Can u delete that one 0?

old Re: Admin Panel

Lee
Moderator Off Offline

Quote
Insert this at the start of the file
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
function digits(n, p, m)
	if not m then m = 10^p - 1 end
	if n == 0 then
		local s = ""
		for i = 1, p do
			s = s..0
		end
		return s 
	end
	if n <= m then
		local _p = 0
		while (n < 10^(p-1)) do
			p = p-1
			_p = _p + 1
		end
		local str = n
		for i = 1, _p, 1 do
			str = "0"..str
		end
		return str
	else
		return m
	end
end

then go to the time function and change the hour to digits(hour, 2) and it'll automatically format the time to use only 2 digits

old Re: Admin Panel

shadowski
User Off Offline

Quote
can somebody help me? when i press F4 or type !menu i get error attempt to compare number with nil

old Re: Admin Panel

CineRuSS
User Off Offline

Quote
I have a idea!
When a Admin write a command then another can't see this command.

old Re: Admin Panel

doom15
BANNED Off Offline

Quote
i am a lua noob and i dont know how can i get admin on my own servar

old Re: Admin Panel

KimKat
GAME BANNED Off Offline

Quote
doom15 has written
i am a lua noob and i dont know how can i get admin on my own servar
I've created a authentication system which makes users who are authorized or "listed" able to send messages with their specific title for example "(Admin): doom15: Hello".

You can download it; here.

old closed Re: Admin Panel

TheSniper98
User Off Offline

Quote
KimKat has written
doom15 has written
i am a lua noob and i dont know how can i get admin on my own servar
I've created a authentication system which makes users who are authorized or "listed" able to send messages with their specific title for example "(Admin): doom15: Hello".

You can download it; here.

This is spamming here we not talk for you syystem!!!

Admin/mod comment

Don't behave like a moderator. And KimKats post wasn't really spam, it was like a suggestion for those who use the admin panel to use his auth system in addition. /TheKilledDeath

old ok..

doom15
BANNED Off Offline

Quote
But i dont get after a day..how can i get admin? i am admin , my dedicatred servars..and i put lua ..all roght when i come servar i log in with rcon_password , and say !menu nothing

old Re: Admin Panel

SQ
Moderator Off Offline

Quote
doom15 has written
But i dont get after a day..how can i get admin? i am admin , my dedicatred servars..and i put lua ..all roght when i come servar i log in with rcon_password , and say !menu nothing

In most admin systems:
1. You need to have U.S.G.N user.
2. Sometimes you need to edit script. There is value of admin USGN ids...
You tried that?

Btw, Not servar , *server
To the start Previous 1 2 3 4 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview