Raised This Month: $ Target: $400
 0% 

[CS 1.6] Pushing up a Sprite?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
WAR3DM
Senior Member
Join Date: Mar 2016
Old 03-28-2016 , 07:47   [CS 1.6] Pushing up a Sprite?
Reply With Quote #1

Hello!

I'm using Sprites in Player HUD: http://darkgl.pl/2015/03/05/sprites-...hudzie-gracza/

spriteFixer.sma
Spoiler



sprite_test.sma
Spoiler


The following code (taken from sprite_test) contains only fLen, which seems to move the sprite only on it's X axis.
Code:
addPlayerSprite( id,Float:scale, Float:frameRate, szModel[], Float:fAngle, Float:fLen, Float:fTime,Float:fDistance, bool: bTransparent );
Code:
addPlayerSprite( id, 0.02, 10.0, gszModel, 20.0, 10.0, 9999.0, 13.0, true )
However, I was curious if it's possible to move the sprite on it's Y axis.

Any ideas are greatly appreciated.

Last edited by WAR3DM; 03-28-2016 at 07:54.
WAR3DM is offline
counter1strike6
Senior Member
Join Date: Sep 2014
Location: morocco
Old 03-28-2016 , 09:28   Re: [CS 1.6] Pushing up a Sprite?
Reply With Quote #2

i think Float:fAngle,
__________________
Vitamin-C was here
counter1strike6 is offline
WAR3DM
Senior Member
Join Date: Mar 2016
Old 03-28-2016 , 12:32   Re: [CS 1.6] Pushing up a Sprite?
Reply With Quote #3

Normally that works, but if the sprite is in the center of the screen it has no effect.

For now, I'll set it on the side. Thanks!

Last edited by WAR3DM; 03-28-2016 at 18:57.
WAR3DM is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:15.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode