--> Syntax is correct.. console don't find any bugs.edited 1×, last 08.01.12 06:07:19 pm
Scripts
How i can fix it that will work?
How i can fix it that will work?
1

--> Syntax is correct.. console don't find any bugs.Admins = {33373}
addhook("say","adm_say")
function adm_say(id,txt)
	for _, usgn in ipairs(Admins) do
		if player(id, "usgn") == usgn then
			msg("©255255255"..txt.." @C")
			return 1
		end
		if (txt=="!"..txt) then
			msg(""..player(id,"name")..": "..txt)
		end
	end
end
msg("©255255255 "..txt.." ")
Anti-Grav has writtenmsg("©255255255 "..txt.." ")
if (txt=="!"..txt) then
Crash13 has written
Anti-Grav has writtenmsg("©255255255 "..txt.." ")
if (txt=="!"..txt) then
Admins = {33373}
addhook("say","adm_say")
function adm_say(id,txt)
	for _, usgn in ipairs(Admins) do
		if player(id, "usgn") == usgn then
			msg("©255255255"..txt.." @C")
			if (txt:sub(1,1)=="!") then
				msg(player(id,"name")..": "..txt)
			end
			return 1
		end
	end
end
1
