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

[REQ] ammo notifier


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
zombiiiizzz
BANNED
Join Date: Apr 2010
Old 04-03-2011 , 18:38   [REQ] ammo notifier
Reply With Quote #1

something like in the photo, when you dealt enough damage the message will apear and shows that you earned 1 ammo pack
Attached Thumbnails
Click image for larger version

Name:	zm_orlingbase_new0000.JPG
Views:	360
Size:	70.9 KB
ID:	84356  
zombiiiizzz is offline
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 04-06-2011 , 09:27   Re: [REQ] ammo notifier
Reply With Quote #2

Can you upload that sky ?
This server sky where are ammo +1 ?
.Dare Devil. is offline
makiza
BANNED
Join Date: Mar 2009
Old 04-06-2011 , 13:09   Re: [REQ] ammo notifier
Reply With Quote #3

that's space
makiza is offline
zombiiiizzz
BANNED
Join Date: Apr 2010
Old 04-13-2011 , 17:04   Re: [REQ] ammo notifier
Reply With Quote #4

yeah, its space...

ON: HELP?!
zombiiiizzz is offline
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 04-13-2011 , 18:22   Re: [REQ] ammo notifier
Reply With Quote #5

you just have to copy the code from zp main plugin and add a hud message
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
ErrorStereotype
Senior Member
Join Date: Feb 2011
Location: Bosnia and Herzegovina
Old 04-14-2011 , 04:15   Re: [REQ] ammo notifier
Reply With Quote #6

yea how to do that
ErrorStereotype is offline
zombiiiizzz
BANNED
Join Date: Apr 2010
Old 04-14-2011 , 07:26   Re: [REQ] ammo notifier
Reply With Quote #7

Quote:
Originally Posted by georgik57 View Post
you just have to copy the code from zp main plugin and add a hud message
easy to said, but to make its not can u do it? or still laizy again
zombiiiizzz is offline
louistds
Member
Join Date: Oct 2010
Old 04-14-2011 , 07:57   Re: [REQ] ammo notifier
Reply With Quote #8

i think you will just have to add hud messages in these lines
PHP Code:
// Reward ammo packs
        
if (!g_survivor[attacker] || !get_pcvar_num(cvar_survignoreammo))
        {
            
// Store damage dealt
            
g_damagedealt[attacker] += floatround(damage)
            
            
// Reward ammo packs for every [ammo damage] dealt
            
while (g_damagedealt[attacker] > get_pcvar_num(cvar_ammodamage))
            {
                
g_ammopacks[attacker]++
                
g_damagedealt[attacker] -= get_pcvar_num(cvar_ammodamage)
            }
        } 
and
PHP Code:
// Reward frags, deaths, health, and ammo packs
        
UpdateFrags(infectoridget_pcvar_num(cvar_fragsinfect), 11)
        
g_ammopacks[infector] += get_pcvar_num(cvar_ammoinfect)
        
fm_set_user_health(infectorpev(infectorpev_health) + get_pcvar_num(cvar_zombiebonushp)) 
__________________
louistds is offline
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 04-14-2011 , 11:57   Re: [REQ] ammo notifier
Reply With Quote #9

or like that...
and yea, i'm still lazy as fuck...
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
ErrorStereotype
Senior Member
Join Date: Feb 2011
Location: Bosnia and Herzegovina
Old 04-14-2011 , 12:47   Re: [REQ] ammo notifier
Reply With Quote #10

.sma file plz xD
ErrorStereotype 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 06:37.


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