Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[SOLVED] [Sky] Draw weapon paperdoll above the player?


Lief1606
 Share

Recommended Posts

So, when I put a paperdoll in a weapon, when the player is walking/looking up the paperdoll draws below the player, I wanted it to draw above him.
Explaining with images:
I wanted it to be like this: ![](http://i.imgur.com/8Ehm6nR.png)
(It worked because I changed the item type to armor for testing purposes)
But it shows like this: ![](http://i.imgur.com/D1N9ien.png)
Does anyone knows how to "fix" it?
Link to comment
Share on other sites

@'Growlith1223':

> take a look at the sub DrawPlayer, you'll see something along the lines of DrawPaperdoll, now look at the order of rendering with the player and the paperdolls, that should give you an idea

Took me 3 minutes to figure it out, just needed to put the draw weapon code after the draw armor code. Thank you!
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...