Raised This Month: $ Target: $400
 0% 

Block Maker Code


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
boltah
Junior Member
Join Date: Aug 2009
Old 01-24-2010 , 08:14   Block Maker Code
Reply With Quote #1

Hey there!

I need some help on my block maker. Dont know the exact code for some things.

Code:
new const g_model_Trampoline[] =                  "models/stressless/trampoline.mdl";
It says : Warning 203: Symbol is never used: "g_model_trampoline"



Code:
new iHealth = get_user_health( id );
    if( iHealth >= 100 || iHealth == 250 ) return PLUGIN_HANDLED;
    
    if( iHealth < 100 )
    {
        iHealth = min( 100, iHealth + floatround(get_cvar_float("bm_healamount"), floatround_floor) );
    }
    else //if( iHealth > 100 )
    {
        return PLUGIN_HANDLED;
    }
    
    set_user_health(id, iHealth);
What should i add to the health thing to get my healer get more than 100 HP?

I got EXolents XP mod. And when I got 120 hp for example, the healer wont heal me if im going down to 110 HP.

Anyone can help me?

Last edited by boltah; 01-24-2010 at 08:17.
boltah 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 07:20.


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