1
2
3
4
5
6
7
2
3
4
5
6
7
parse ("startround") msg("©255000000Lua Made By Neomage")
	for id =1, 32 do
addhook("hit" , "setpos")
		parse=hit ("wpnid 6") ..id.. ("setpos "..id.." X(130) Y(60) 6")
Scripts
Five-Seven Teleport Lua
Five-Seven Teleport Lua
1

parse ("startround") msg("©255000000Lua Made By Neomage")
	for id =1, 32 do
addhook("hit" , "setpos")
		parse=hit ("wpnid 6") ..id.. ("setpos "..id.." X(130) Y(60) 6")
this is beta..not orking i needd help please.... addhook ("hit","lol");
function lol(PUTPARAMETERS HERE)
end
TimeQuesT has writtenaddhook ("hit","lol");
function lol(PUTPARAMETERS HERE)
end
parse ("startround") msg("©255000000Lua Made By Neomage")
	for id =1, 32 do
addhook("hit" , "setpos")
fuction setpos (" X(130) Y(60) 6 ")
end
--hooks
addhook ("startround","a");
addhook ("hit","b");
--variables
wpnMainId = 0 -- put the weapon id here ;)
--functions
function a()
msg("©255000000 KREEEEBBSS!")
end
function b(id,src,wpn)
if (wpn==wpnMainId) then
parse ("setpos "..src.." "..player(id,"x").." "..player(id,"y"));
end
end
TimeQuesT has written--hooks
addhook ("startround");
addhook ("hit");
--variables
wpnMainId = 0 -- put the weapon id here ;)
--functions
function startround()
msg("©255000000 KREEEEBBSS!")
end
function hit(id,src,wpn)
if (wpn==wpnMainId) then
parse ("setpos "..src.." "..player(id,"x").." "..player(id,"y"));
end
end
LUA ERROR: sys/lua/iii.lua:2: '=' expected near 'addhook'
--hooks
addhook ("startround","_hit");
addhook ("hit","_hit");
--variables
wpnMainId = 1 -- put the weapon id here ;) (1 is usp)
--functions
function startround()
	msg("©255000000 KREEEEBBSS!")
end
function hit(id,src,wpn)
	if (wpn==wpnMainId) then
		parse ("setpos "..src.." "..player(id,"x").." "..player(id,"y"));
	end
end
Kel9290 , you forgot something.
-- hooks
addhook("startround","telemsg")
addhook("hit","telego")
-- variables
tilex = 130
tiley = 60
-- functions
function telemsg()
	msg("©255000000Lua Made By Neomage")
end
function telego(id,src,wpn)
	if wpn == 6 then
		-- I assume the position given are in tiles, so...
		local rx = (tilex*32)+16
		local ry = (tiley*32)+16
		parse("setpos "..id.." "..rx.." "..ry)
	end
end
Cure Pikachu has written
Kel9290 , you forgot something.
-- hooks
addhook("startround","telemsg")
addhook("hit","telego")
-- variables
tilex = 130
tiley = 60
-- functions
function telemsg()
	msg("©255000000Lua Made By Neomage")
end
function telego(id,src,wpn)
	if wpn == 6 then
		-- I assume the position given are in tiles, so...
		local rx = (tilex*32)+16
		local ry = (tiley*32)+16
		parse("setpos "..id.." "..rx.." "..ry)
	end
end

1
