View Single Post
NiQu
Veteran Member
Join Date: Nov 2009
Old 12-21-2009 , 00:05   Re: Blockmaker - Adding Blocks (Step-By-Step)
Reply With Quote #2

Great to finally see a tutorial like this out

This will help those who doesnt already now

+K on you.

Damage Bunnyhop Action:

PHP Code:
action_DMGBhop(ident)
{
    if ( 
get_gametime() >= gfDmgBhopNextUse[id] )
        {
            new 
fDamage 10;
            
fakedamage(id"Damage block"fDamageDMG_CRUSH);
        
            
gfDmgBhopNextUse[id] = get_gametime() + 0.5;

            if ( !
task_exists(TASK_SOLIDNOT ent) && !task_exists(TASK_SOLID ent) )
            {
            
set_task(0.1"task_SolidNot"TASK_SOLIDNOT ent);
            }
        }



Think this shud work

Last edited by NiQu; 12-21-2009 at 00:11.
NiQu is offline