Jump to content
  • 0

PVP script , its from emistry


Mr BrycE

Question


  • Group:  Members
  • Topic Count:  125
  • Topics Per Day:  0.03
  • Content Count:  595
  • Reputation:   23
  • Joined:  02/23/12
  • Last Seen:  

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

Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  59
  • Reputation:   1
  • Joined:  01/15/12
  • Last Seen:  

post a screenshot of the error

you didnt set a map,x,y,dir

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  341
  • Reputation:   43
  • Joined:  01/10/12
  • Last Seen:  

Would it be the TAB problem?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  45
  • Reputation:   0
  • Joined:  02/29/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  63
  • Reputation:   6
  • Joined:  11/15/11
  • Last Seen:  

Or .. if have some script before this one, maybe the error is not in this ..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  125
  • Topics Per Day:  0.03
  • Content Count:  595
  • Reputation:   23
  • Joined:  02/23/12
  • Last Seen:  

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

Link to comment
Share on other sites

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.

×
×
  • Create New...