![]() |
|
|
#1 (permalink) |
|
Member
Hostage
Join Date: Apr 2007
Posts: 14
|
-------------------ONCE AGAIN, I DO NOT HAVE A CLUE HOW TO INSTALL!!-------------------
GhostMan Become a ghostly haunter, be careful! more ghosts are more powerful than others!! /* CVARS - copy and paste to shconfig.cfg // GhostMan HERO! GhostMan_level 1 //level you get it -default GhostMan_gravity 0.40 //gravity and hieght -default GhostMan_armor 10 //armor -default GhostMan_health 5 //health -default */ #include <amxmod> #include <superheromod> // variables new gHeroName[]="GhostMan" //---------------------------------------------------------------------------------------------- public plugin_init() { // Plugin Info register_plugin("SUPERHERO GhostMan", "1.90", "Peukalo") // edit the shconfig.cfg not this register_cvar("GhostMan_level", "1") register_cvar("GhostMan_gravity", "0.40") register_cvar("GhostMan_armor", "10") register_cvar("GhostMan_health", "5") register_cvar("GhostMan_speed", "90") // create its events shCreateHero(gHeroName, "*whispers* the ghostly haunting has just begun!", "*whispers* get some ghostly health and armor!", false, "GhostMan_level") //register the commands and stuff // INIT register_srvcmd("GhostMan_init", "GhostMan_init") shRegHeroInit(gHeroName, "GhostMan_init") // give server it variables shSetMaxHealth(gHeroName, "GhostMan_health") shSetMinGravity(gHeroName, "GhostMan_gravity") shSetMaxArmor(gHeroName, "GhostMan_armor") shSetMaxSpeed(gHeroName, "GhostMan_speed", "[0]") } //---------------------------------------------------------------------------------------------- public GhostMan_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 |
| PownZor - Hero | Peukalo | Super Hero Mod | 0 | 04-18-2007 01:05 PM |
| BloodLusk - Hero. | Peukalo | Super Hero Mod | 0 | 04-18-2007 01:00 PM |