Jump to content

Question

6 answers to this question

Recommended Posts

Posted
- <tab> script <tab> BattleBadge <tab> -1,{
OnPCKillEvent:
if (strcharinfo(3)=="your_pvp_map" && killedrid != getcharid(3))
       getitem your_item,1;
end;
}

Posted
- <tab> script <tab> BattleBadge <tab> -1,{
OnPCKillEvent:
   if (killedrid == getcharid(3)) end;
   for(set .@i,0; .@i<.size; set .@i,.@i+1)
    if (strcharinfo(3)==.maps$[.@i]) {
	    getitem your_item,1; break; }
   end;
OnInit:
   setarray .maps$[0],"pvp_y_1-2","pvp_y_2-2","pvp_y_3-2";
   set .size, getarraysize(.maps$);
   end;
}

Posted
- <tab> script <tab> BattleBadge <tab> -1,{
OnPCKillEvent:
   if (killedrid == getcharid(3)) end;
   for(set .@i,0; .@i<.size; set .@i,.@i+1)
    if (strcharinfo(3)==.maps$[.@i]) {
	    getitem .items[rand(getarraysize(.items))],1; break; }
   end;
OnInit:
   setarray .maps$[0],"pvp_y_1-2","pvp_y_2-2","pvp_y_3-2";
   setarray .items[0],7828,7829,7773;
   set .size, getarraysize(.maps$);
   end;
}

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