Premium Necro 80 Posted November 13, 2014 Premium Share Posted November 13, 2014 (edited) Hi guys, i find quest for teleport player to player, but here is little problem. This quest use function - getinput: quest teleport_to_player_block begin state start begin when login begin cmdchat("teleportacja_block "..q.getcurrentquestindex()) end when button or info begin if get_time() < pc.getqf("duration_block") then return end sname = getinput("getinput") local is_blocked = pc.getf("teleport_to_player_block", sname) if is_blocked == 1 then pc.setf("teleport_to_player_block", sname, 0) syschat("Gracz: "..sname.." został Odblokowany.") elseif is_blocked == 0 then pc.setf("teleport_to_player_block", sname, 1) syschat("Gracz: "..sname.." został Zablokowany.") end pc.setqf("duration_block",get_time()+1*3*1) end end end and in-game look like this: I need that this side of quest will be automatic close, is here some function for that? Thanks for every idea.. Edited August 18, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Premium Necro 80 Posted November 13, 2014 Author Premium Share Posted November 13, 2014 Sorry for spam already solved - problem was in text which was defined function Link to comment Share on other sites More sharing options...
safademirel 292 Posted November 13, 2014 Share Posted November 13, 2014 setskin(NOWINDOW) try this? Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now