Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1. htan etsi
  2.  
  3. // If L2Character or target is in a peace zone, send a system message TARGET_IN_PEACEZONE a Server->Client packet ActionFailed
  4. player.sendPacket(new SystemMessage(SystemMessageId.TARGET_IN_PEACEZONE));
  5. player.sendPacket(new ActionFailed());
  6.  
  7. kai esu t ekanes
  8.  
  9.  
  10. if (!player.isInFunEvent() || !player.getTarget().isInFunEvent())
  11. {
  12. // If L2Character or target is in a peace zone, send a system message TARGET_IN_PEACEZONE a Server->Client packet ActionFailed
  13. player.sendPacket(new SystemMessage(SystemMessageId.TARGET_IN_PEACEZONE));
  14. player.sendPacket(new ActionFailed());
  15. }
  16.  
  17. dn 8a eprepe na t kaneis etsi omws
  18.  
  19. if (!player.isInFunEvent() || !player.getTarget().isInFunEvent())
  20. {
  21. // If L2Character or target is in a peace zone, send a system message TARGET_IN_PEACEZONE a Server->Client packet ActionFailed
  22. player.sendPacket(new SystemMessage(SystemMessageId.TARGET_IN_PEACEZONE));
  23. player.sendPacket(new ActionFailed());
  24. }
  25. else
  26. {
  27. player.sendPacket(new SystemMessage(SystemMessageId.TARGET_IN_PEACEZONE));
  28. player.sendPacket(new ActionFailed());
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement