Mang-Berto Posted December 21, 2011 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 139 Reputation: 2 Joined: 11/15/11 Last Seen: September 20, 2013 Share Posted December 21, 2011 Good day, does anyone here has a pvp reward script, when a player kills another player in a pvp room he will receive valor badge? because i found a script of pvp rewards but it's not working on my server. please help. thanks Quote Link to comment Share on other sites More sharing options...
Emistry Posted December 21, 2011 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted December 21, 2011 try this - script Sample -1,{ OnPCKillEvent: if( strcharinfo(3) == "mapname" && killedrid != getcharid(0) ){ getitem 7539,1; dispbottom "Gained 1 Items."; } end; } Quote Link to comment Share on other sites More sharing options...
agentbogz Posted July 27, 2012 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 96 Reputation: 4 Joined: 04/09/12 Last Seen: April 20, 2019 Share Posted July 27, 2012 Sir about that script.. the pally's are Spamming Grand cross to get some item in pvp room.. there killing there selves Quote Link to comment Share on other sites More sharing options...
Euphy Posted July 27, 2012 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted July 27, 2012 I should probably just release this... o.o; - script PCKill -1,{ OnPCKillEvent: if (killedrid == getcharid(3)) end; for(set .@i,0; .@i<getarraysize(.maps$); set .@i,.@i+1) if (strcharinfo(3)==.Maps$[.@i]) { if (.NoFarm) { if (killedrid == @last_kill) end; set @last_kill, killedrid; } if (.Item) getitem .Item, 1; if (.Cash$ != "") { setd .Cash$, getd(.Cash$)+1; dispbottom "Gained a kill point! Total: "+getd(.Cash$); } break; } end; OnInit: setarray .Maps$[0],"pvp_y_1-2","pvp_y_2-2","pvp_y_3-2"; set .NoFarm,1; // End script for repeated kills? (1:yes / 0:no) set .Item, 0; // 0 to disable set .Cash$, "#CASHPOINTS"; // "" to disable end; } Quote Link to comment Share on other sites More sharing options...
Question
Mang-Berto
Good day, does anyone here has a pvp reward script, when a player kills another player in a pvp room he will receive valor badge? because i found a script of pvp rewards but it's not working on my server. please help. thanks
Link to comment
Share on other sites
3 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.