View Single Post
  #2  
Old 09-18-2011, 09:31 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
In your block layer I imagine you have some sort of code like this:

PHP Code:
function onActionServerSide() {
  if (
params[0] == "createblock") {
    
temp.block putnpc2(params[1], params[2], "");
    
temp.block.headblock player.head;
    
temp.block.join("your_block_class");
  }

Then in your class you can use this.headblock as your image name.
__________________
Quote:
Reply With Quote