Jump to content
  • 0
Sign in to follow this  
Nameleszx

When player died

Question

3 answers to this question

Recommended Posts

  • 0

bossnia have 4 maps...

bossnia_01bossnia_02bossnia_03bossnia_04

the correct script should be

OnPCDieEvent:if( compare( strcharinfo(3),"bossnia_" ) )    warp "prontera",155,181;end;

Share this post


Link to post
Share on other sites
  • 0

From cellphone so expect errors, or maybe not. Put this (or something like this) inside of a script:

 

OnPCDieEvent:

getmapxy(.@map$,.@x,.@y,0);

if (.@map$ == "bossnia") warp "prontera",0,0;

end;

 

 

PS: quite funny that auto correct tried to change prontera to printer.

Share this post


Link to post
Share on other sites
  • 0

shorter since u need only map name

 

 

OnPcDieEvent:

if(strcharinfo(3) == "bossnia") warp "prontera",0,0; end;

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.