Advertisement
johnlol

PVP_Skull_Inventory

Aug 9th, 2023
980
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VeriLog 0.73 KB | Gaming | 0 0
  1.  
  2.  
  3. -   script  PVP_Skull_Inventory -1,{
  4. OnPCKillEvent:
  5. if (killedrid != getcharid(3)) getnameditem(7420,rid2name(killedrid));
  6. end;
  7. }
  8.  
  9.  
  10. /*
  11. -   script  PVP_Skull_Inventory -1,{
  12. OnPCKillEvent:
  13.    //if ( ( !getmapflag( strcharinfo(3), mf_pvp ) && !getmapflag( strcharinfo(3), mf_gvg ) ) || killedrid == getcharid(3) ) end;
  14.    if ( getmapflag( strcharinfo(3), mf_pvp ) == 0 || killedrid == getcharid(3) ) end;
  15.    attachrid killedrid;
  16.    .@charid = getcharid(0);
  17.    attachrid killerrid;
  18.    if(getcharip(killedrid) == getcharip(getcharid(3))) end;
  19.    getitem2 8966, 1,1,0,0, 254, 0, .@charid % pow(2,16), .@charid / pow(2,16);
  20. //   getnameditem 7420, rid2name( killedrid ); // <-- EDITED, this command doesn't drop item on floor
  21.    end;
  22. }
  23. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement