![]() |
|
|
#1 (permalink) |
|
Member
Hostage
Join Date: Apr 2007
Posts: 14
|
----------I DO NOT HAVE A CLUE HOW TO INSTALL!--------------
become a pwner!!! with 5x the hp,ap,speed and gravity as usual!! *AUTHOR* Peukalo. *stuff* /* CVARS - copy and paste to shconfig.cfg // PownZor HERO! PownZor_level 15 //level you get it -default PownZor_gravity 0.40 //gravity and hieght -default PownZor_armor 1450 //armor -default PownZor_health 99090 //health -default */ #include <amxmod> #include <superheromod> // variables new gHeroName[]="PownZor" //---------------------------------------------------------------------------------------------- public plugin_init() { // Plugin Info register_plugin("SUPERHERO PownZor", "1.1", "Peukalo") // edit the shconfig.cfg not this register_cvar("PownZor_level", "15") register_cvar("PownZor_gravity", "0.40") register_cvar("PownZor_armor", "1450") register_cvar("PownZor_health", "99090") register_cvar("PownZor_speed", "12500") // create its events shCreateHero(gHeroName, "BECOME A PWNER WITH 5x THE HP,AP SD, AND GRAVITY!!", "BECOME A PWNER WITH 5x THE HP,AP SD, AND GRAVITY!!", false, "PownZor_level") //register the commands and stuff // INIT register_srvcmd("PownZor_init", "PownZor_init") shRegHeroInit(gHeroName, "PownZor_init") // give server it variables shSetMaxHealth(gHeroName, "PownZor_health") shSetMinGravity(gHeroName, "PownZor_gravity") shSetMaxArmor(gHeroName, "PownZor_armor") shSetMaxSpeed(gHeroName, "PownZor_speed", "[0]") } //---------------------------------------------------------------------------------------------- public PownZor_init() { new temp[6] read_argv(1,temp,5) new id = str_to_num(temp) read_argv(2,temp,5) new hasPowers = str_to_num(temp) if ( !hasPowers && is_user_alive(id) ) { shRemHealthPower (id) shRemGravityPower (id) shRemArmorPower (id) shRemSpeedPower (id) } } //--------------------------------------------------------------------------------------------- |
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| super hero mod | mkcallester | Super Hero Mod | 9 | 08-11-2007 08:06 AM |
| supe hero mod | lizard94 | Super Hero Mod | 3 | 04-21-2007 04:54 PM |
| BloodLusk - Hero. | Peukalo | Super Hero Mod | 0 | 04-18-2007 01:00 PM |