Raised This Month: $51 Target: $400
 12% 

API Scripting Help How to move HUD stats under the radar in column


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
LightGamin
Member
Join Date: Apr 2011
Old 08-31-2011 , 07:49   How to move HUD stats under the radar in column
Reply With Quote #1

Hi guys, I'm really enjoy Zombie Plague 4.3 and I want to make one little change in the HUD that show us our Health, Class, and ammo's. I want it them in a column under the radar like on the attached pic ..
EDIT:: Please tell me how to edit the zombie_plague40.sma file. I mean this script
Code:
// Show health, class and ammo packs
set_hudmessage(red, green, blue, HUD_STATS_X, HUD_STATS_Y, 0, 6.0, 1.1, 0.0, 0.0, -1)
ShowSyncHudMsg(ID_SHOWHUD, g_MsgSync2, "%L: %d - %L %s - %L %d", id, "ZOMBIE_ATTRIB1", pev(ID_SHOWHUD, pev_health), ID_SHOWHUD, "CLASS_CLASS", class, ID_SHOWHUD, "AMMO_PACKS1", g_ammopacks[ID_SHOWHUD])
Attached Thumbnails
Click image for larger version

Name:	hud statss.JPG
Views:	769
Size:	7.2 KB
ID:	91632  

Last edited by LightGamin; 08-31-2011 at 07:58.
LightGamin is offline
WaLkMaN
Senior Member
Join Date: Oct 2010
Location: Varna, Bulgaria
Old 09-02-2011 , 17:03   Re: How to move HUD stats under the radar in column
Reply With Quote #2

Change the coordinates with this
const Float:HUD_STATS_X = 0.01
const Float:HUD_STATS_Y = 0.22

and change this "%L: %d - %L %s - %L %d" with

"[%L: %d] ^n[%L %s] ^n[%L %d]"
WaLkMaN is offline
LightGamin
Member
Join Date: Apr 2011
Old 09-03-2011 , 18:37   Re: How to move HUD stats under the radar in column
Reply With Quote #3

Walk I want to tell you someting on your language
"Благодаря много братле, да знаех щях да те питам в AMXMODXBG .., направо ми пълниш сърцето с тоя отговор"
LightGamin is offline
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 09-04-2011 , 04:20   Re: How to move HUD stats under the radar in column
Reply With Quote #4

You could have PM'ed that to him.
__________________

My Plugins For ZP

Inactive due to College and Studies
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
WaLkMaN
Senior Member
Join Date: Oct 2010
Location: Varna, Bulgaria
Old 09-04-2011 , 04:23   Re: How to move HUD stats under the radar in column
Reply With Quote #5

Quote:
Originally Posted by LightGamin View Post
Walk I want to tell you someting on your language
"Благодаря много братле, да знаех щях да те питам в AMXMODXBG .., направо ми пълниш сърцето с тоя отговор"
BG: Там съм баннат по мрежа, но не по акаунт Можеш да видиш в uctt там са всичките zp уроци които съм превел
EN: There I was banned over a network, but not account. You can see in uctt there are all zp lessons which I translated
WaLkMaN is offline
LightGamin
Member
Join Date: Apr 2011
Old 09-04-2011 , 05:33   Re: How to move HUD stats under the radar in column
Reply With Quote #6

Thanks bro, i will need to convert 2 zombie classes in Vip Only. I was try to do it steb-by-step from the lesson but with no success s. I will need to convert Advanced invisible and Paralizer with effects Zombies, Thanks again ..
Edit: Im going to start new topic for this you can help me in it ;]

Last edited by LightGamin; 09-04-2011 at 05:39.
LightGamin is offline
yahmeramin
Junior Member
Join Date: May 2013
Old 05-27-2013 , 20:56   Re: How to move HUD stats under the radar in column
Reply With Quote #7

// show game timer + team score
static iMinute, iSecond
iSecond = floatround((g_round_started_time + (TIME_LIMIT * 60.0)) - get_gametime())
if (iSecond < 0) iSecond = 0
iMinute = iSecond / 60
iSecond = iSecond - ((iSecond / 60) * 60)
len += formatex(msg[len], SIZE - len, "[%i:%i] - [CT: %i | T: %i]", iMinute, iSecond, team_score[TEAM_CT], team_score[TEAM_T])

How to move the huds in the center upwards
yahmeramin is offline
real sap
Member
Join Date: Aug 2015
Location: India
Old 10-03-2015 , 18:42   Re: How to move HUD stats under the radar in column
Reply With Quote #8

CAN YOU PLZ make for zp 4.3 fix 5a
real sap is offline
Send a message via Skype™ to real sap
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 19:55.


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