1
2
3
4
2
3
4
addhook("join","sample.ads.join")
function sample.ads.join(p,t)
msg("©254144060>> "..player(p,"name").." is connecting...")
end
Scripts
Lua Scripts/Questions/Help
addhook("join","sample.ads.join")
function sample.ads.join(p,t)
msg("©254144060>> "..player(p,"name").." is connecting...")
end
addhook("join","sample.ads.join")
function sample.ads.join(p,t)
msg("©254144060>> "..player(p,"name").." is connecting...")
parse("sv_sound \"fun/connected.wav\"")
end
hudtxt text id, text string, x, y, align
hudtxt2 id (of person who will see that text), text id, text string, x, y, alignif sample==nil then sample={} end
sample.ads={}
addhook("join","sample.ads.join")
function sample.ads.join(p)
msg2(p, "©102255102ID connecting >> "..player(p,"name").."...")
end
function hudtext2(id,tid,color,txt,x,y)
	toprint = ("©"..color.." "..txt)
	parse('hudtxt2 '..id..' '..tid..' "'..toprint..'" '..x.." "..y)
end
if sample==nil then sample={} end
sample.ads={}
addhook("join","sample.ads.join")
function sample.ads.join(p)
msg2(p, "©102255102ID connecting >> "..player(p,"name").."...")
end
if sample==nil then sample={} end
sample.ads={}
addhook("join","sample.ads.join")
function sample.ads.join(p)
msg2(p, "©102255102ID connecting >> "..player(p,"name").."...")
end
addhook ("hit","hitt")
function hitt (id,source,weapon,hpdmg,apdmg)
if (weapon==22) then
parse ("sethealth "..id.." "..(player(id,"health")+5))
end
end
if sample==nil then sample={} end
sample.ads={}
addhook("join","sample.ads.join")
function sample.ads.join(id,id)
msg(" Connected to VrKillers server")
end
addhook("parse","sample.ads.parse")
function sample.ads.parse(txt)
if(txt=="speedmodon") then
parse("speedmod "..id.." 100")
msg("DOOOMMMEdddd!")
end
if(txt=="speedmodoff") then
parse("speedmod "..id.." 0")
msg("DOOOMMMEdddd!")
end
end