Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2020
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. (oldNpc => {
  2. newNpc = npcs => {
  3. if (isset(npcs)) {
  4. for (const npc of Object.values(npcs)) {
  5. if (isset(npc.nick) && npc.wt > 79 && npc.wt <= 99) {
  6. chatSend(`/k Znalazłem herosa! ${npc.nick}, ${map.name} ${npc.x}, ${npc.y}`);
  7. }
  8. }
  9. }
  10. oldNpc.call(this, npcs);
  11. }
  12. })(newNpc);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement