Jump to content
  • 0

When death on map 1 times, How to config sent to savepoint.


Question

1 answer to this question

Recommended Posts

Posted

When death on map 1 times, How to config sent to savepoint.

-	script	kjhfksjdhfks	-1,{
OnPCDieEvent:
if ( strcharinfo(3) == "prontera" )
	warp "Save", 0,0;
end;
}

2. If config death 2 times???
-    script    kjhfksjdhf2ks    -1,{
OnPCLoadMapEvent:
   if ( strcharinfo(3) == "guild_vs1" )
       @death_count = 0;
   end;
OnPCDieEvent:
   if ( strcharinfo(3) == "guild_vs1" ) {
       @death_count++;
       if ( @death_count >= 2 )
       warp "Save", 0,0;
   }
   end;
}
guild_vs1    mapflag    loadevent

  • Upvote 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...