iraciz Posted June 12, 2022 Posted June 12, 2022 Good day, This is [Euphy] rathena custom npc default warper. Any way to reset last warp map and coordinates OnPCLogOutEvent if (lastwarp$ == "") message strcharinfo(0),"You haven't warped anywhere yet. Last warp resets with logout."; else warp lastwarp$,lastwarpx,lastwarpy; end; function Go { set lastwarp$, getarg(0); set lastwarpx, getarg(1,0); set lastwarpy, getarg(2,0); warp getarg(0),getarg(1,0),getarg(2,0); end; } Help please Quote
1 cook1e Posted June 12, 2022 Posted June 12, 2022 This? - script remove#var -1,{ OnPCLogoutEvent: if(lastwarp$ != "") lastwarp$ = ""; if(lastwarpx != 0) lastwarpx = 0; if(lastwarpy != 0) lastwarpy = 0; end; } Quote
Question
iraciz
Good day, This is [Euphy] rathena custom npc default warper.
Any way to reset last warp map and coordinates OnPCLogOutEvent
if (lastwarp$ == "") message strcharinfo(0),"You haven't warped anywhere yet. Last warp resets with logout."; else warp lastwarp$,lastwarpx,lastwarpy; end;
Help please
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.