Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- in Frames.java add this void
- public void setPlayerHead(Player p, int interfaceId, int childId) {
- if(p == null || p.stream == null || p.disconnected[0]) {
- return;
- }
- p.stream.createFrame(101);
- p.stream.writeWord(interfaceId);
- p.stream.writeWord(childId);
- }
- save and close.
- now where u want to make the screen pop up you need to add this
- p.frames.showInterface(p, 771);
- p.frames.animateInterfaceId(p, 9835, 771, 79);
- p.frames.setPlayerHead(p, 771, 79);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement