Raised This Month: $ Target: $400
 0% 

During Event Time


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Mr.Noobie
BANNED
Join Date: Apr 2009
Old 06-11-2009 , 02:15   Re: During Event Time
Reply With Quote #3

Quote:
Originally Posted by alan_el_more View Post
PHP Code:
#include <amxmodx>
#include <fun>
#include <zombieplague>
 
new g_maxplayers
 
public plugin_init() 
{
    
register_plugin"[ZP] During Event""1.0""Mr.Noobie")
    
g_maxplayers get_maxplayers()
}
 
public 
zp_round_started(gamemodeid)
{
    if(
gamemode == MODE_NEMESIS)
    {
        for(new 
1;id <= g_maxplayers;id++)
        {
            if(!
is_user_alive(id) || !zp_get_user_nemesis(id))
                
set_user_health(idget_user_health(id) + 750)
        }
    }

you made a mistake here:

PHP Code:
new 1;id 
to

PHP Code:
new id 1;id 
it didn't work instead adding hp to Nemesis.
Mr.Noobie is offline
 



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 13:58.


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