Raised This Month: $ Target: $400
 0% 

Numbers in HUD being switched around!?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Bone
Member
Join Date: Mar 2005
Location: Under your bed
Old 04-04-2005 , 15:29   Numbers in HUD being switched around!?
Reply With Quote #1

I am adding Stamina And hunger into Avalances Rp plugin, I got health added in fine as well as stamina.. kind of, you see the thing is the hud i have that displays in upper left corner when i add stamina numbers switch around.

when i have this code

Code:
                // display money and stuff
		format(displaystring,127,"^nHunger:%d^nWallet: $%d^nBank Balance: $%d^nPaycheck in %d minutes^n%s @ $%d/hr",hunger[id],userwallet[id],userbank[id],nextpaycheck[id],displayjob,employed[id] ? employedwages[id] : get_cvar_num("avarp_unemployed_wages"));
everything works perfect but you see i dont have it display stamina, so when i add stamina to the code like so

Code:
                // display money and stuff
		format(displaystring,127,"Stamina: ^nHunger:%d^nWallet: $%d^nBank Balance: $%d^nPaycheck in %d minutes^n%s @ $%d/hr",stamina[id],hunger[id],userwallet[id],userbank[id],nextpaycheck[id],displayjob,employed[id] ? employedwages[id] : get_cvar_num("avarp_unemployed_wages"));
then it goes crazy and looks like this



so you see stamina stats is going into where hunger SHOULD be and hunger is in wallet and wallet is in bank etc.. so its all getting like shifted down. can someone PLEASE help me with this its only thing stopping me ffrom finishing plug in. thanks
__________________
the shirt covered her face, she screamed and clawed, so billy stomped on the bitch until he broke in her jaw.
Bone is offline
Send a message via MSN to Bone
 



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 09:54.


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