Raised This Month: $51 Target: $400
 12% 

Bird


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Turd Fergisun
Junior Member
Join Date: Oct 2004
Old 10-06-2004 , 15:05   Bird
Reply With Quote #1

You can fly...just like superman just not with xtra health..but like 125 armour
__________________
66.148.80.59:27016 czero->come in and have some fun
Turd Fergisun is offline
Send a message via AIM to Turd Fergisun
MTS Steel DrAgoN
Veteran Member
Join Date: Jul 2004
Location: California
Old 10-06-2004 , 15:08  
Reply With Quote #2


this is a dumb hero request.....
MTS Steel DrAgoN is offline
Send a message via AIM to MTS Steel DrAgoN
Prowler
Senior Member
Join Date: Nov 2004
Old 10-06-2004 , 15:16  
Reply With Quote #3

get superman, lower/remove his armour/health... ta da
Prowler is offline
MTS Steel DrAgoN
Veteran Member
Join Date: Jul 2004
Location: California
Old 10-06-2004 , 15:19  
Reply With Quote #4

but he wants it renamed...
MTS Steel DrAgoN is offline
Send a message via AIM to MTS Steel DrAgoN
Prowler
Senior Member
Join Date: Nov 2004
Old 10-06-2004 , 15:22  
Reply With Quote #5

from notepad Edit -> replace type in find what superman and replace with bird...

ta da
Code:
#include <amxmod>
#include <superheromod>

// bird! - Yeah - well not all of his powers or it'd be unfair...

// CVARS
// bird_level
// bird_gravity
// bird_health
// bird_armor

// VARIABLES
new gHeroName[]="bird"
new gHasSuperPower[SH_MAXSLOTS+1]
//----------------------------------------------------------------------------------------------
public plugin_init()
{
  // Plugin Info
  register_plugin("SUPERHERO bird","1.14.4","{HOJ} Batman")

  // DO NOT EDIT THIS FILE TO CHANGE CVARS, USE THE SHCONFIG.CFG
  register_cvar("bird_gravity", "0.35" )
  register_cvar("bird_armor", "150")
  register_cvar("bird_health", "150")
  register_cvar("bird_level", "0" )

  // FIRE THE EVENT TO CREATE THIS SUPERHERO!
  shCreateHero(gHeroName, "Health/Armor/Gravity", "More Health/Free Armor/Reduced Gravity", false, "bird_level" )

  // REGISTER EVENTS THIS HERO WILL RESPOND TO! (AND SERVER COMMANDS)
  // INIT
  register_srvcmd("bird_init", "bird_init")
  shRegHeroInit(gHeroName, "bird_init")

  // Let Server know about birds Variable
  // It is possible that another hero has more hps, less gravity, or more armor
  // so rather than just setting these - let the superhero module decide each round
  shSetMaxHealth(gHeroName, "bird_health" )
  shSetMinGravity(gHeroName, "bird_gravity" )
  shSetMaxArmor(gHeroName, "bird_armor" )
}
//----------------------------------------------------------------------------------------------
public bird_init()
{
  new temp[6]
  // First Argument is an id
  read_argv(1,temp,5)
  new id=str_to_num(temp)

  // 2nd Argument is 0 or 1 depending on whether the id has flash
  read_argv(2,temp,5)
  new hasPowers=str_to_num(temp)
  gHasSuperPower[id]=(hasPowers!=0)

  // Got to slow down a Flash that lost his powers...
  if ( !hasPowers  && is_user_connected(id) )
  {
    shRemHealthPower(id)
    shRemGravityPower(id)
    shRemArmorPower(id)
  }
}
//----------------------------------------------------------------------------------------------
Prowler is offline
MTS Steel DrAgoN
Veteran Member
Join Date: Jul 2004
Location: California
Old 10-06-2004 , 15:24  
Reply With Quote #6

you can do that? OMG.....lol
MTS Steel DrAgoN is offline
Send a message via AIM to MTS Steel DrAgoN
Chivas2973
Veteran Member
Join Date: Mar 2004
Location: Wisconsin
Old 10-06-2004 , 15:33  
Reply With Quote #7

how bout a hero that will hand me a gun so I can blow my brains out for lack of originality
__________________
Chivas2973 is offline
Fatebringer
Senior Member
Join Date: Sep 2004
Old 10-06-2004 , 16:19  
Reply With Quote #8

That is sad... I even could do this, and I suck at scripting. However, I gave my hero a cooler name: Tails.
Fatebringer is offline
imported_Phiber
Senior Member
Join Date: Jul 2004
Location: Sweden
Old 10-06-2004 , 16:20  
Reply With Quote #9

lol chivas good one
imported_Phiber is offline
Send a message via MSN to imported_Phiber Send a message via Yahoo to imported_Phiber
Prowler
Senior Member
Join Date: Nov 2004
Old 10-07-2004 , 02:30  
Reply With Quote #10

Just for you Chivas

Code:
//suicideboy! - Yeah, who ever thought this would be made?

/* CVARS - copy and paste to shconfig.cfg

//suicideboy
suicideboy_level 0
*/
// Custom made just so Chivas could kill himself for lack of originality!

#include <amxmod>
#include <superheromod>

// GLOBAL VARIABLES
new gHeroName[]="suicideboy"
new gHasBoyPower[SH_MAXSLOTS+1]
//----------------------------------------------------------------------------------------------
public plugin_init()
{
  // Plugin Info
  register_plugin("SUPERHERO suicideboy","1.0","Prowler")

  // DO NOT EDIT THIS FILE TO CHANGE CVARS, USE THE SHCONFIG.CFG
  register_cvar("suicideboy_level", "0")

  // FIRE THE EVENT TO CREATE THIS SUPERHERO!
  shCreateHero(gHeroName, "Suicide!", "Life getting you down? kill yourself!", false, "suicideboy_level" )

  // REGISTER EVENTS THIS HERO WILL RESPOND TO! (AND SERVER COMMANDS)
  register_srvcmd("suicideboy_init", "suicideboy_init")
  shRegHeroInit(gHeroName, "suicideboy_init")
  register_event("ResetHUD","newRound","b")
  register_event("CurWeapon","changeWeapon","be","1=1")
}
//----------------------------------------------------------------------------------------------
public suicideboy_init()
{
  new temp[6]
  // First Argument is an id
  read_argv(1,temp,5)
  new id = str_to_num(temp)

  // 2nd Argument is 0 or 1 depending on whether the id has suicideboy
  read_argv(2,temp,5)
  new hasPowers = str_to_num(temp)
  gHasBoyPower[id] = (hasPowers != 0)

  if (!is_user_connected(id)) return

  if ( gHasBoyPower[id] ) {
     shGiveWeapon(id,"weapon_deagle")
    }
}
//----------------------------------------------------------------------------------------------
public newRound(id)
{
  if ( gHasBoyPower[id] && is_user_alive(id) && shModActive() ) {
    shGiveWeapon(id,"weapon_deagle")
  }
}
//----------------------------------------------------------------------------------------------
public changeWeapon(id) {

  if ( !shModActive() ) return

  new clip, ammo
  new wpnid = get_user_weapon(id, clip, ammo)

  if ( wpnid!=CSW_DEAGLE) return

  if (clip < 7){
      user_kill(id)
      }
}
Prowler 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 09:08.


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