Sprite above head
Hi all, well what I want to do is that when a player chooses a sprite it comes out above the player's head the problem is that the sprite comes out in the center of the player, how can I fix that? .. Thanks in advance
PHP Code:
|
Re: Sprite above head
"flOrigin[2] += 60.0" increase this value further until it meets your expectations. you can check whether the player is crouching and subtract 18.0 units for the sprite to hover above the players head
|
Re: Sprite above head
sorry to revive but I changed the value but it still appears in the center of the player
|
Re: Sprite above head
1st method edit the sprite and give it a height.
2ec method edit the script and use the TE_PLAYERATTACHMENT message type. |
Re: Sprite above head
a question I use a sprite with 20 frames can be assigned a frame using TE_PLAYERATTACHMENT?
|
Re: Sprite above head
I don't see a reason not to, test it.
|
All times are GMT -4. The time now is 11:58. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.