1
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10
function player_say(id,txt)
	-- My Server Info
	if (txt=="!sounds") then
		msg("type: "s1" - Scream sound")
msg("type: "s2" - Die sound")	
	end
end
General
lua scripting failure
lua scripting failure
1

function player_say(id,txt)
	-- My Server Info
	if (txt=="!sounds") then
		msg("type: "s1" - Scream sound")
msg("type: "s2" - Die sound")	
	end
end
addhook("say","player_say")
addhook("say","player_say")
function player_say(id,txt)
	if (txt=="!sounds") then
		msg("type: 's1' - Scream sound")
msg("type: 's2' - Die sound")	
	end
end
? addhook("say","player_say")
function player_say(id,txt)
if(txt=="!usp") then
parse("equip "..id.." 1")
parse("say you just got a !usp")
end
else if(txt=="!glock") then
parse("equip "..id.." 2")
parse("say you just got a !usp")
end else
else if(txt=="!deagle") then
parse("equip "..id.." deagle")
parse("say you just got a !usp")
end
end
addhook("say","player_say")
function player_say(id,txt)
if(txt=="!usp") then
parse("equip "..id.." 1")
parse("say you just got a !usp")
elseif(txt=="!glock") then
parse("equip "..id.." 2")
parse("say you just got a !usp")
elseif(txt=="!deagle") then
parse("equip "..id.." deagle")
parse("say you just got a !usp")
end
1
