
And say : rank .... i not show my stats
can anyone give me solution For it . Or other text for show stats .
if (txt =="rank") then parse(id,"say rank") end
if string.lower(txt) == "rank" then return 0 end
list_adm = {89037} addhook("say", "rankSay") function rankSay(id, text) 			for _, i in ipairs(list_adm) do 			if (i == player(id, "usgn")) then 			local mtext = (player(id,"name").."©255255255 »Admin« ©255128000: ©000255000"..text) 			if player(id,"team")==1 then --T 			mtext=string.char(169).."255000000"..mtext 			elseif player(id,"team")==2 then --CT 			mtext=string.char(169).."050150255"..mtext 			elseif player(id,"team")==0 then --SPEC 			mtext=string.char(169).."255220000"..mtext 			end 			msg(mtext) 			return 1; 			end	 	end end
addhook("say", "rankSay") function rankSay(id, text) for _, i in ipairs(list_adm) do if (i == player(id, "usgn")) then if (text =="rank") then parse(id,"say rank") return 1 end local mtext = (player(id,"name").."©255255255 »Admin« ©255128000: ©000255000"..text) if player(id,"team")==1 then --T mtext=string.char(169).."255000000"..mtext elseif player(id,"team")==2 then --CT mtext=string.char(169).."050150255"..mtext elseif player(id,"team")==0 then --SPEC mtext=string.char(169).."255220000"..mtext end msg(mtext) return 1; end end end
list_adm = {15476} addhook("say", "rankSay") function rankSay(id, text) for _, i in ipairs(list_adm) do 		 if string.lower(text) == "rank" then 	 return 0 	end if (i == player(id, "usgn")) then local mtext = (player(id,"name").."©255255255 »Admin« ©255128000: ©000255000"..text) if player(id,"team")==1 then --T mtext=string.char(169).."255000000"..mtext elseif player(id,"team")==2 then --CT mtext=string.char(169).."050150255"..mtext elseif player(id,"team")==0 then --SPEC mtext=string.char(169).."255220000"..mtext end msg(mtext) return 1; end end end
if text == "rank" then 	return 0 end
addhook("say", "rankSay") function rankSay(id, text) 	for _, i in ipairs(list_adm) do 		if (i == player(id, "usgn")) then 			if (text~="rank") then 				local mtext = (player(id,"name").."©255255255 »Admin« ©255128000: ©000255000"..text) 				if player(id,"team")==1 then --T 					mtext=string.char(169).."255000000"..mtext 				elseif player(id,"team")==2 then --CT 					mtext=string.char(169).."050150255"..mtext 				elseif player(id,"team")==0 then --SPEC 					mtext=string.char(169).."255220000"..mtext 				end 				msg(mtext) 				return 1; 			end 		end 	end end
playsound = {"rock star.ogg"}; addhook("say","snd") function snd(id,txt) for _, i in ipairs(list_adm) do if(txt=="!rock star")then parse("sv_sound ".. playsound[math.random(1,#playsound)]); end if (txt=="!the way") then parse("sv_sound \"fun/thats_the_way.wav\""); end end end
if player(id,"usgn") == 15476 then
if player(id,"usgn") == 15476 then
playsound = {"rock star.ogg"}; addhook("say","snd") function snd(id,txt) 	for _, i in ipairs(list_adm) do 		if player(id,"usgn")==i then 			if(txt=="!rock star")then 				parse("sv_sound ".. playsound[math.random(1,#playsound)]); 				return 1; 			end 			if (txt=="!the way") then parse("sv_sound \"fun/thats_the_way.wav\""); return 1; end 		end 	end end
if player(id,"usgn") == 15476 then
playsound = {"rock star.ogg"}; addhook("say","snd") function snd(id,txt) 	for _, i in ipairs(list_adm) do 		if player(id,"usgn")==i then 			if(txt=="!rock star")then 				parse("sv_sound ".. playsound[math.random(1,#playsound)]); 				return 1; 			end 			if (txt=="!the way") then parse("sv_sound \"fun/thats_the_way.wav\""); return 1; end 		end 	end end
if (text:sub(1,1)=="!") then 	return 1 end
addhook("say", "rankSay") function rankSay(id, text) for _, i in ipairs(list_adm) do if (i == player(id, "usgn")) then if (text:sub(1,1)=="!") then return 1 end if (text~="rank") then local mtext = (player(id,"name").."©255255255 »Admin« ©255128000: ©000255000"..text) if player(id,"team")==1 then --T mtext=string.char(169).."255000000"..mtext elseif player(id,"team")==2 then --CT mtext=string.char(169).."050150255"..mtext elseif player(id,"team")==0 then --SPEC mtext=string.char(169).."255220000"..mtext end msg(mtext) return 1; end end end end