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

Help / Support [HELP] Shortly Colour-Screenflash by getting a Ammopack


Post New Thread Reply   
 
Thread Tools Display Modes
MiCHAEL JAi WHiTE
Junior Member
Join Date: Sep 2011
Location: Germany, Paderborn
Old 09-19-2011 , 18:13   Re: [HELP] Shortly Colour-Screenflash by getting a Ammopack
Reply With Quote #11

Quote:
You need Zombie Plague 5.0+ include files to get this work.
oh okay, but can I use this Plugin for "Zombie Plague Advance" also?
__________________

ViSiT MY HÒMÈPÀGÈ HÈRÈ + ÀLSÒ RÈGiÈSTÈR YÒU iN...

www.Love-Gamers.tk

***** THÀNKS FÒR YÒUR ViSiT *****
MiCHAEL JAi WHiTE is offline
Send a message via ICQ to MiCHAEL JAi WHiTE Send a message via MSN to MiCHAEL JAi WHiTE Send a message via Skype™ to MiCHAEL JAi WHiTE
artos
Senior Member
Join Date: Mar 2010
Old 09-20-2011 , 06:31   Re: [HELP] Shortly Colour-Screenflash by getting a Ammopack
Reply With Quote #12

Quote:
Originally Posted by MiCHAEL JAi WHiTE View Post
oh okay, but can I use this Plugin for "Zombie Plague Advance" also?
No.

I made this compatible with ZPA for you. (Look at attachment)

If you have edited ZPA you can put this code by self:

Open zombie_plague_advance_v1-6-1.sma.

Find:
PHP Code:
// Native: zp_set_user_ammo_packs
public native_set_user_ammo_packs(idamount)
{        
    
g_ammopacks[id] = amount;

Replace with:
PHP Code:
// Native: zp_set_user_ammo_packs
public native_set_user_ammo_packs(idamount)
{
    if (
amount native_get_user_ammo_packs(id))
        
make_screenfade(id0015030)
        
    
g_ammopacks[id] = amount;

Go to the end of plugin and add this stock:
PHP Code:
stock make_screenfade(idredgreenbluedensity)
{
    
message_begin(MSG_ONEg_msgScreenFade_id)
    
write_short(1<<12// duration
    
write_short(0// hold time
    
write_short(0x0000// fade type
    
write_byte(red// red
    
write_byte(green// green
    
write_byte(blue// blue
    
write_byte(density// alpha
    
message_end()

Well done! Should be working.
Attached Files
File Type: sma Get Plugin or Get Source (zombie_plague_advance_v1-6-1.sma - 398 views - 418.7 KB)
__________________
artos is offline
Send a message via Skype™ to artos
MiCHAEL JAi WHiTE
Junior Member
Join Date: Sep 2011
Location: Germany, Paderborn
Old 09-24-2011 , 16:12   Re: [HELP] Shortly Colour-Screenflash by getting a Ammopack
Reply With Quote #13

@artos

Thank You very much, it work's Perfect!

Good Work +Karma
__________________

ViSiT MY HÒMÈPÀGÈ HÈRÈ + ÀLSÒ RÈGiÈSTÈR YÒU iN...

www.Love-Gamers.tk

***** THÀNKS FÒR YÒUR ViSiT *****
MiCHAEL JAi WHiTE is offline
Send a message via ICQ to MiCHAEL JAi WHiTE Send a message via MSN to MiCHAEL JAi WHiTE Send a message via Skype™ to MiCHAEL JAi WHiTE
Dr. Sexy
Senior Member
Join Date: Feb 2011
Old 09-30-2011 , 12:11   Re: [HELP] Shortly Colour-Screenflash by getting a Ammopack
Reply With Quote #14

artos can u make it for zp4.3 pls?
Dr. Sexy is offline
MiCHAEL JAi WHiTE
Junior Member
Join Date: Sep 2011
Location: Germany, Paderborn
Old 09-30-2011 , 14:55   Re: [HELP] Shortly Colour-Screenflash by getting a Ammopack
Reply With Quote #15

Quote:
Originally Posted by Dr. Sexy View Post
artos can u make it for zp4.3 pls?
hehe...
__________________

ViSiT MY HÒMÈPÀGÈ HÈRÈ + ÀLSÒ RÈGiÈSTÈR YÒU iN...

www.Love-Gamers.tk

***** THÀNKS FÒR YÒUR ViSiT *****
MiCHAEL JAi WHiTE is offline
Send a message via ICQ to MiCHAEL JAi WHiTE Send a message via MSN to MiCHAEL JAi WHiTE Send a message via Skype™ to MiCHAEL JAi WHiTE
Dr. Sexy
Senior Member
Join Date: Feb 2011
Old 10-01-2011 , 10:24   Re: [HELP] Shortly Colour-Screenflash by getting a Ammopack
Reply With Quote #16

Quote:
Originally Posted by MiCHAEL JAi WHiTE View Post
hehe...
whaaatttt ? did i write something wrong?
Dr. Sexy is offline
artos
Senior Member
Join Date: Mar 2010
Old 10-01-2011 , 18:38   Re: [HELP] Shortly Colour-Screenflash by getting a Ammopack
Reply With Quote #17

Quote:
Originally Posted by Dr. Sexy View Post
artos can u make it for zp4.3 pls?
You can do it by self. ;) Solution is the same as for Zombie Plague Advance.

Here's guide:

http://forums.alliedmods.net/showpos...7&postcount=12
__________________
artos is offline
Send a message via Skype™ to artos
Dr. Sexy
Senior Member
Join Date: Feb 2011
Old 10-01-2011 , 18:58   Re: [HELP] Shortly Colour-Screenflash by getting a Ammopack
Reply With Quote #18

ow i know it but wanted ur confirm coz dont want mess something thanks!
Dr. Sexy is offline
Dolph_Ziggler
BANNED
Join Date: Jun 2011
Old 10-02-2011 , 04:37   Re: [HELP] Shortly Colour-Screenflash by getting a Ammopack
Reply With Quote #19

@Dr.Sexy

her is it i make it for zombie plague 4.3, compile fine but Untested
Attached Files
File Type: sma Get Plugin or Get Source (zombie_plague40.sma - 313 views - 335.3 KB)
Dolph_Ziggler is offline
Send a message via MSN to Dolph_Ziggler
Dr. Sexy
Senior Member
Join Date: Feb 2011
Old 10-02-2011 , 06:28   Re: [HELP] Shortly Colour-Screenflash by getting a Ammopack
Reply With Quote #20

@dolph thanks!
Dr. Sexy 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 20:39.


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