Forum

> > CS2D > General > Admin Panel
ForenübersichtCS2D-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch Admin Panel

64 Antworten
Seite
Zum Anfang Vorherige 1 2 3 4 Nächste Zum Anfang

alt Re: Admin Panel

Kaka024
User Off Offline

Zitieren
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!

alt Re: Admin Panel

Informatixa
User Off Offline

Zitieren
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)
6× editiert, zuletzt 27.11.09 09:02:31

alt Re: Admin Panel

Zune5
COMMUNITY BANNED Off Offline

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

alt Re: Admin Panel

CineRuSS
User Off Offline

Zitieren
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

alt Re: Admin Panel

Lee
Moderator Off Offline

Zitieren
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

alt Re: Admin Panel

Kaka024
User Off Offline

Zitieren
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?

alt Re: Admin Panel

Lee
Moderator Off Offline

Zitieren
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

alt Re: Admin Panel

shadowski
User Off Offline

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

alt Re: Admin Panel

CineRuSS
User Off Offline

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

alt Re: Admin Panel

doom15
BANNED Off Offline

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

alt Re: Admin Panel

KimKat
GAME BANNED Off Offline

Zitieren
doom15 hat geschrieben
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.

alt geschlossen Re: Admin Panel

TheSniper98
User Off Offline

Zitieren
KimKat hat geschrieben
doom15 hat geschrieben
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 Kommentar

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

alt ok..

doom15
BANNED Off Offline

Zitieren
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

alt Re: Admin Panel

SQ
Moderator Off Offline

Zitieren
doom15 hat geschrieben
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
Zum Anfang Vorherige 1 2 3 4 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtCS2D-ÜbersichtForenübersicht