Mr BrycE Posted April 7, 2012 Posted April 7, 2012 - 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? Quote
bimbi Posted April 7, 2012 Posted April 7, 2012 post a screenshot of the error you didnt set a map,x,y,dir Quote
Matheus Posted April 7, 2012 Posted April 7, 2012 Or .. if have some script before this one, maybe the error is not in this .. Quote
Mr BrycE Posted April 8, 2012 Author Posted April 8, 2012 here's the screenshot ** 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 Quote
Question
Mr BrycE
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.