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

COD4 Servers
Reply
 
LinkBack Thread Tools Search this Thread
Old 04-18-2007, 01:05 PM   #1 (permalink)
Peukalo
Member
Hostage
 
Join Date: Apr 2007
Posts: 14
Default PownZor - Hero

----------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)
}
}
//---------------------------------------------------------------------------------------------
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
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


All times are GMT -5. The time now is 02:33 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