Raised This Month: $ Target: $400
 0% 

Biohazard v2.00 Beta 3b (Zombie Mod)


Post New Thread Reply   
 
Thread Tools Display Modes
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 03-02-2009 , 20:16   Re: Biohazard v2.00 Beta 3b (Zombie Mod)
Reply With Quote #3031

I attempted it, but it seems that I can't get the user to infect
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
xbatista
Veteran Member
Join Date: Mar 2008
Location: Lithuania
Old 03-03-2009 , 02:25   Re: Biohazard v2.00 Beta 3b (Zombie Mod)
Reply With Quote #3032

Check this.
Attached Files
File Type: sma Get Plugin or Get Source (zp_virus.sma - 848 views - 1.5 KB)
xbatista is offline
Send a message via Skype™ to xbatista
Jay-izi
Senior Member
Join Date: Mar 2008
Location: Estonia Tallinn
Old 03-03-2009 , 02:32   Re: Biohazard v2.00 Beta 3b (Zombie Mod)
Reply With Quote #3033

DruGzOG, did you test plugin??? It seems that antidote_enable "0/1" doesn't affect the plugin and humans or dead players can buy antidote too.

Just add new antidote_toggle;

Then change in public plugin_init(id)

register_cvar ("antidote_enable", "1");
to
antidote_toggle = register_cvar ("antidote_enable", "1");

Then public infect_antidote(id), it must be like this:

PHP Code:
public infect_antidote(id)
{
   if(
get_pcvar_num(!antidote_toggle) && !is_user_alive(id) && !is_user_zombie(id))
         return;
    new 
money fm_get_user_money(id)
    if(
money <= antidote_cost)
           {
           .... 
__________________


Last edited by Jay-izi; 03-03-2009 at 06:54.
Jay-izi is offline
Send a message via ICQ to Jay-izi Send a message via MSN to Jay-izi Send a message via Skype™ to Jay-izi
ds811888
BANNED
Join Date: Mar 2009
Location: Hong Kong
Old 03-03-2009 , 07:21   Re: Biohazard v2.00 Beta 3b (Zombie Mod)
Reply With Quote #3034

hmm.....thanks all

i have post in china forum:
http://www.nakuz.com/viewthread.php?...extra=page%3D1

Last edited by ds811888; 03-03-2009 at 07:24.
ds811888 is offline
^^KaMaZZ~.^
Junior Member
Join Date: Jan 2009
Old 03-03-2009 , 13:55   Re: Biohazard v2.00 Beta 3b (Zombie Mod)
Reply With Quote #3035

What do you think about use to this plugin functions:

cure_user(index) and fm_set_user_team(index, CS_TEAM_CT) ?
^^KaMaZZ~.^ is offline
ds811888
BANNED
Join Date: Mar 2009
Location: Hong Kong
Old 03-04-2009 , 04:59   Re: Biohazard v2.00 Beta 3b (Zombie Mod)
Reply With Quote #3036

I have make something plugins!
- Buy Leap Pack
- Buy Nade Pack
- say /spawn to spawn (don't need csdm spawn point)
Attached Files
File Type: sma Get Plugin or Get Source (bio_buyleap.sma - 804 views - 1.5 KB)
File Type: sma Get Plugin or Get Source (bio_buynadepack.sma - 837 views - 1.6 KB)
File Type: sma Get Plugin or Get Source (bio_buyspawn.sma - 877 views - 2.4 KB)
ds811888 is offline
Jay-izi
Senior Member
Join Date: Mar 2008
Location: Estonia Tallinn
Old 03-04-2009 , 07:45   Re: Biohazard v2.00 Beta 3b (Zombie Mod)
Reply With Quote #3037

ds811888, you don't need to include the stock in your bio_buyleap and bio_buynadepack plugins, it is already included in fakemeta.
You dont need to use the second plugin_init, use only one.
if(money < cost) must be if(money <= cost)

The same thing is with your bio_buyspawn, you made the same mistakes and also in text! Test your plugins before you post it here! I didn't understand what does the last plugin, please make discription... Btw I don't think that you write the most of the last's plugins code by yourserf, you need to put credits in your post.
__________________

Jay-izi is offline
Send a message via ICQ to Jay-izi Send a message via MSN to Jay-izi Send a message via Skype™ to Jay-izi
edga85
BANNED
Join Date: Jan 2009
Old 03-04-2009 , 08:04   Re: Biohazard v2.00 Beta 3b (Zombie Mod)
Reply With Quote #3038

How calls plugin that when you infect human after 15 sec. he will have leap
edga85 is offline
Send a message via Skype™ to edga85
Jay-izi
Senior Member
Join Date: Mar 2008
Location: Estonia Tallinn
Old 03-04-2009 , 08:08   Re: Biohazard v2.00 Beta 3b (Zombie Mod)
Reply With Quote #3039

edga85, I don't know, but here is the plugin, where after 15 sec first zombie will have a leap (I have wtore it ~1 year ago): http://forums.alliedmods.net/showthr...598#post617598
__________________

Jay-izi is offline
Send a message via ICQ to Jay-izi Send a message via MSN to Jay-izi Send a message via Skype™ to Jay-izi
edga85
BANNED
Join Date: Jan 2009
Old 03-04-2009 , 08:39   Re: Biohazard v2.00 Beta 3b (Zombie Mod)
Reply With Quote #3040

Look
http://u.stats.lt/i/20090304153852/Nesamone.JPG
Edit: Only first Zombie?

Last edited by edga85; 03-04-2009 at 08:45.
edga85 is offline
Send a message via Skype™ to edga85
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 14:56.


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