This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Hero: Amazo


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Zeruzzer
Junior Member
Join Date: Apr 2008
Old 04-06-2008 , 06:38   Hero: Amazo
Reply With Quote #1

Hero: Amazo High Health, Armor, Speed, Gravity

I am using jtpizzalover's superhero generator, so i will thank Jtpizzalover ^^

Code:
//Amazo 
Amazo_level 35 
Amazo_health 2000    //Default 100 (no extra health)
Amazo_armor 2000        //Default 150
Amazo_gravity 200    //Default 1.0 = no extra gravity (0.50 is 50% normal gravity, ect.)
Amazo_speed 2000        //Default -1 = no extra speed, this cvar is for all weapons (for faster then normal speed set to 261 or higher)
Code:
//Amazo! - OMFG AMAZO H4X0R!!!!! 

//This hero was made was using jtpizzalover's superhero generator
/* CVARS - copy and paste to shconfig.cfg

//Amazo 
Amazo_level 35 
Amazo_health 2000    //Default 100 (no extra health)
Amazo_armor 2000        //Default 150
Amazo_gravity 200    //Default 1.0 = no extra gravity (0.50 is 50% normal gravity, ect.)
Amazo_speed 2000        //Default -1 = no extra speed, this cvar is for all weapons (for faster then normal speed set to 261 or higher)
 
*/

#include <amxmodx>
#include <superheromod>
 
new HeroName[] = "Amazo"
new bool:HasHero[SH_MAXSLOTS+1]
 
 
public plugin_init()
{
    // Plugin Info
    register_plugin("SUPERHERO Amazo","1","unknown")
    
    // DO NOT EDIT THIS FILE TO CHANGE CVARS, USE THE SHCONFIG.CFG
    register_cvar("Amazo_level", "35")
    register_cvar("Amazo_health", "2000")
    register_cvar("Amazo_armor", "2000")
    register_cvar("Amazo_gravity", "200")
    register_cvar("Amazo_speed", "2000")
     

    // FIRE THE EVENT TO CREATE THIS SUPERHERO!
    shCreateHero(HeroName, "High Health, Armor, speed, gravity", "OMFG AMAZO H4X0R!!!!! ", false, "Amazo_level")
    
    // REGISTER EVENTS THIS HERO WILL RESPOND TO! (AND SERVER COMMANDS)
    // INIT
    register_srvcmd("Amazo_init", "Amazo_init")
    shRegHeroInit(HeroName, "Amazo_init")
        
    // EVENTS
 
 
    // Let Server know about the hero's variables
    shSetShieldRestrict(HeroName)
    shSetMaxHealth(HeroName, "Amazo_health")
    shSetMaxArmor(HeroName, "Amazo_armor")
    shSetMinGravity(HeroName, "Amazo_gravity")
    shSetMaxSpeed(HeroName, "Amazo_speed", "[0]")
}
      
public Amazo_init()
{
    // First Argument is an id
    new temp[6]
    read_argv(1, temp, 5)
    new id = str_to_num(temp)
 
    //This hero was made was using jtpizzalover's superhero generator
    // Reset their shield restrict status
    // Shield restrict MUST be before weapons are given out
    shResetShield(id)

     
                 
         
            // Check is needed since this gets run on clearpowers even if user didn't have this hero
    if ( is_user_alive(id) && HasHero[id] )
            {
                // This gets run if they had the power but don't anymore
                 
                 
                shRemHealthPower(id)
                shRemArmorPower(id)
                shRemGravityPower(id)
                shRemSpeedPower(id)
            }
     

     
}

Last edited by vittu; 04-07-2008 at 13:23.
Zeruzzer is offline
jacker
Junior Member
Join Date: Apr 2008
Old 04-06-2008 , 06:50   Re: Hero: Amazo
Reply With Quote #2

OMFG
it is working omg it is nice... can u make other heroes/post some?
jacker is offline
Zeruzzer
Junior Member
Join Date: Apr 2008
Old 04-06-2008 , 07:10   Re: Hero: Amazo
Reply With Quote #3

maybe ^^ if i can :p
__________________

Zeruzzer is offline
Alfyan
Junior Member
Join Date: Oct 2007
Location: Eastbourne, England
Old 04-06-2008 , 10:07   Re: Hero: Amazo
Reply With Quote #4

heheheh nice one
__________________



The Second World War At It's Finest Forever
Alfyan is offline
Kelyndelis
Junior Member
Join Date: Mar 2008
Old 04-06-2008 , 10:51   Re: Hero: Amazo
Reply With Quote #5

Nice one, ive been cant find Amazo for long time. You made this! But I already made my own hero called Zeath which give me extra hp, ap, speed, and low gravity. good work, man.
Kelyndelis is offline
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 23:52.


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