Raised This Month: $ Target: $400
 0% 

Autorepare Dmg


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 03-10-2009 , 14:20   Re: Autorepare Dmg
Reply With Quote #9

Quote:
Originally Posted by iNspiratioN View Post
Simply change (+2) -> (+1) {To change HEALTH}

PHP Code:
#define TASK_REPARE2 999

public autorepare2(id)
{
    if ( 
id TASK_REPARE2 )
        
id -= TASK_REPARE2;
    
    if ( !
is_user_alive(id) )
        return ;
    
set_user_healthidget_user_health(id) +)

Then set_task( 1.0,"autorepare2", TASK_REPARE2+id )

I think like this... post here if you will get error at this.
lol. but i cant have 2 time this here :

PHP Code:
public autorepare(id

    if ( 
id TASK_REPARE 
        
id -= TASK_REPARE 
     
    if ( !
is_user_alive(id) ) 
        return ; 
     
set_user_healthidget_user_health(id) +

PHP Code:
public autorepare(id

    if ( 
id TASK_REPARE 
        
id -= TASK_REPARE 
     
    if ( !
is_user_alive(id) ) 
        return ; 
     
set_user_healthidget_user_health(id) +

Example :
race 1 become +2
race 2 become +3
race 4 become +5

or is it poss. that i try this so :
PHP Code:
public autorepare(id

    if ( 
id TASK_REPARE 
        
id -= TASK_REPARE 
     
    if ( !
is_user_alive(id) ) 
        return ; 
     
set_user_healthidget_user_health(id) +

PHP Code:
set_task1.0,"autorepare2"TASK_REPARE2+id+id+id+id 
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
 



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 17:02.


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