Inside3D!
     

Draw ammo_money in the HUD

 
Post new topic   Reply to topic    Inside3d Forums Forum Index -> Engine Programming
View previous topic :: View next topic  
Author Message
Stealth Kill



Joined: 29 Dec 2006
Posts: 83

PostPosted: Sat Oct 20, 2007 6:44 am    Post subject: Draw ammo_money in the HUD Reply with quote

Hi,

is it possible to draw the ammo_money to the HUD?
i tried to replace ammo_cells with ammo_money but it doesn´t work.
Back to top
View user's profile Send private message
Spike



Joined: 05 Nov 2004
Posts: 944
Location: UK

PostPosted: Sat Oct 20, 2007 9:44 am    Post subject: Reply with quote

FrikQCC notation:
var .float ammo_money = ammo_cells;

Precompiler notation:
#define ammo_money ammo_cells

Standard qc notation:
just use ammo_cells whenever you mean ammo_money and just ignore the fact that you have a clumsy name for the field. This is meant to be QC, afterall.
_________________
What's a signature?
Back to top
View user's profile Send private message Visit poster's website
Stealth Kill



Joined: 29 Dec 2006
Posts: 83

PostPosted: Sat Oct 20, 2007 12:34 pm    Post subject: Reply with quote

thats a good idea and works well thank you
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Inside3d Forums Forum Index -> Engine Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2004 phpBB Group