I need help.
Little code.
how make :
timer(100,setpos,id 100 100)??
Thanks you
Scripts
Timer
Timer
1

timer versiontimer(100,"parse","setpos "..id.." 100 100")
timerEx(1000,parse,1,"setpos "..id.." 100 100")	-- Without wrapper.lua timerEx(1000,setpos,1,id,100,100)	-- With wrapper.lua
MikuAuahDark:
MikuAuahDark: Can the timer work on msg2? like this timer(1000,"msg2","????????")
Dovahkin has written
MikuAuahDark: Can the timer work on msg2? like this timer(1000,"msg2","????????")
timer(5000,"ikillyou")
function ikillyou()
msg("This text is displayed 5 seconds after using timer")
end
admin = {xxxx}
addhook("say","skaz")
function skaz(op,s)
	for _,usgn in pairs(admin) do
		if player(op,"usgn") == usgn then
			if string.sub(s,1,6) == "!kick " then
				parse("kick "..(string.sub(s,7,string.len(s))))
			elseif string.sub(s,1,9) == "!banusgn " then
				parse("banusgn "..(string.sub(s,10,string.len(s))))
			elseif string.sub(s,1,7) == "!banip " then
				parse("banip "..(string.sub(s,8,string.len(s))))
			end
		end
	end
end
useigor:
...sorry
Dovahkin has written
MikuAuahDark: Can the timer work on msg2? like this timer(1000,"msg2","????????")
msg2 needs 2 arguments, normal
timer only able to pass 1 parameter. So you may using
parse or timerEx instead.
Dovahkin has written
MikuAuahDark: Can the timer work on msg2? like this timer(1000,"msg2","????????")
timer (5000,"parse","sv_msg2 "..id.." HELO "..player(id,"name"))
alex72super: I said msg2 not msg.
1
