information msgs
Forum
Scripts
Say information
Say information
5 replies
1

information msgs
1
2
3
4
5
6
7
8
9
10
11
12
13
2
3
4
5
6
7
8
9
10
11
12
13
if sample==nil then sample={} end
sample.sayfuncs={}
addhook("say","sample.sayfuncs.say")
function sample.sayfuncs.say(p,txt)
if (txt=="bilgi") then
msg("Server Sahibi:Neomage ")
msg("Buymenu icin f2,f3,f4 ")
msg("Lua Sahibi:Neomage")
msg("Klan:[AdminZ] ")
end
if has written1
2
3
4
5
6
7
8
9
10
11
12
13
2
3
4
5
6
7
8
9
10
11
12
13
if sample==nil then sample={} end
sample.sayfuncs={}
addhook("say","sample.sayfuncs.say")
function sample.sayfuncs.say(p,txt)
if (txt=="bilgi") then
msg("Server Sahibi:Neomage ")
msg("Buymenu icin f2,f3,f4 ")
msg("Lua Sahibi:Neomage")
msg("Klan:[AdminZ] ")
end
but this nt work
1
LUA ERROR: sys/lua/im.lua:11: unfinished string near '"Lua Sahibi:Neomage)'
Edit: oh i dont read the error sry

Edit²: ehm i'm not sure but work this?
1
2
3
4
5
6
7
8
9
10
11
12
2
3
4
5
6
7
8
9
10
11
12
addhook("say","sample.sayfuncs.say")
	function sample.sayfuncs.say(p,txt)
		if (txt=="bilgi") then
		msg("Server Sahibi:Neomage ")
		msg("Buymenu icin f2,f3,f4 ")
		msg("Lua Sahibi:Neomage")
		msg("Klan:[AdminZ] ")
		end
	end
end
1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9
addhook("say","_say")
function _say(p,txt)
	if txt=="bilgi" then
		msg("Server Sahibi:Neomage")
		msg("Buymenu icin f2,f3,f4")
		msg("Lua Sahibi:Neomage")
		msg("Klan:[AdminZ]")
	end
end
1

Offline

sorry im forgot unreal software s name of lua