Advertisement
Guest User

Untitled

a guest
Sep 20th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. in Frames.java add this void
  2.  
  3.  
  4. public void setPlayerHead(Player p, int interfaceId, int childId) {
  5. if(p == null || p.stream == null || p.disconnected[0]) {
  6. return;
  7. }
  8. p.stream.createFrame(101);
  9. p.stream.writeWord(interfaceId);
  10. p.stream.writeWord(childId);
  11. }
  12.  
  13.  
  14. save and close.
  15.  
  16. now where u want to make the screen pop up you need to add this
  17.  
  18.  
  19. p.frames.showInterface(p, 771);
  20. p.frames.animateInterfaceId(p, 9835, 771, 79);
  21. p.frames.setPlayerHead(p, 771, 79);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement