Forums.Counter-Strike.com | Counter-Strike Community Forums

Go Back   Forums.Counter-Strike.com | Counter-Strike Community Forums > Game Servers > Half-Life 1 Mods & Plugins > Super Hero Mod
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Counter-Strike Source Servers, Teamspeak Servers, Ventrilo Servers
Reply
 
LinkBack Thread Tools Search this Thread
Old 04-18-2007, 01:14 PM   #1 (permalink)
Peukalo
Member
Hostage
 
Join Date: Apr 2007
Posts: 14
Default The-One - HERO

Become the-one






x60 hp and ap


probably my last hero i am making for today, i am bored.



/* CVARS - copy and paste to shconfig.cfg
// The-One HERO!
The-One_level 20 //level you get it -default
The-One_gravity 0.40 //gravity and hieght -default
The-One_armor 10000 //armor -default
The-One_health 50000 //health -default
*/

#include <amxmod>
#include <superheromod>
// variables
new gHeroName[]="The-One"
//----------------------------------------------------------------------------------------------
public plugin_init()
{
// Plugin Info
register_plugin("SUPERHERO The-One", "1.01", "Peukalo")
// edit the shconfig.cfg not this
register_cvar("The-One_level", "20")
register_cvar("The-One_gravity", "0.40")
register_cvar("The-One_armor", "10000")
register_cvar("The-One_health", "50000")
register_cvar("The-One_speed", "9000")
// create its events
shCreateHero(gHeroName, "Become The-One", "Become The-One 60x the hp and ap.", false, "The-One_level")
//register the commands and stuff
// INIT
register_srvcmd("The-One_init", "The-One_init")
shRegHeroInit(gHeroName, "The-One_init")
// give server it variables
shSetMaxHealth(gHeroName, "The-One_health")
shSetMinGravity(gHeroName, "The-One_gravity")
shSetMaxArmor(gHeroName, "The-One_armor")
shSetMaxSpeed(gHeroName, "The-One_speed", "[0]")
}
//----------------------------------------------------------------------------------------------
public The-One_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)
}
}
//---------------------------------------------------------------------------------------------
Peukalo is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
GhostMan - Hero Peukalo Super Hero Mod 2 10-19-2007 07:32 AM
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


All times are GMT -5. The time now is 04:31 AM.



Powered by vBulletin Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC5
Free Clan Websites and Template Hosting