Why says to me? I am admin, need to say for all players (that is not on admin list.) I made a test: enter in my server with this script, and i closed usgn, then press F2 -> Admin Menu, Menu don't appear (this work) but message aren't.
Instead to show message to them, says to me, but menu work only for admin list.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Admins = {33373} addhook("menu","deathmen") function deathmen(id,title,button)	 	if title == "DEATHRUN Menu" then 	if button == 2 then 	parse("equip "..id.." 34") 		elseif button == 3 then	 			for _, usgn in ipairs(Admins) do 				if player(id,"usgn") == usgn then 				menu(id,"Admin Menu,Kick,Ban") 					if player(id, 'usgn')>=1 then 						msg2(id,"©255000000You are not autorized to enter in this menu!@C") 					end		 				end	 			end 		end 	end end
edited 1×, last 12.01.12 05:17:04 pm