Jump to content
  • 0

PVP script , its from emistry


Question

Posted

-    script    BattlePoints    -1,{
OnPCKillEvent:
   getmapxy .@m$,.@x,.@y,0;
   if (.@m$ == "pvp_y_2-2" || .@m$ == "guild_vs3" ){
   set #BattlePoints,#BattlePoints+2;
   dispbottom "[ Battle Points ] : +2 Points , Total Accumulated Points : [ "+#BattlePoints+" ] ";
   end;
   }
OnPCDieEvent:
   getmapxy .@m$,.@x,.@y,0;
   if (.@m$ == "pvp_y_2-2" || .@m$ == "guild_vs3" ){
   set #BattlePoints,#BattlePoints-1;
   dispbottom "[ Battle Points ] : -1 Points , Total Accumulated Points : [ "+#BattlePoints+" ] ";
   end;
   }
end;
}
pvp_y_2-2    mapflag    loadevent
guild_vs3    mapflag    loadevent
1@orcs	  mapflag loadevent

i got it from eathena, and you said it was yours, but im having an error on line one already...why?

5 answers to this question

Recommended Posts

Posted

here's the screenshot

Untitled-2.jpg

** EDIT **

fixed, its a TAB problem

-[TAB]script[TAB]BattlePoints[TAB]-1,

and

pvp_y_2-2[TAB]mapflag[TAB]loadevent

guild_vs3[TAB]mapflag[TAB]loadevent

1@orcs[TAB]mapflag[TAB]loadevent

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...