Raised This Month: $ Target: $400
 0% 

Help please (Newbie here)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Maxblaze
Junior Member
Join Date: Nov 2006
Old 12-05-2007 , 10:40   Help please (Newbie here)
Reply With Quote #1

what is wrong here ?

// My first EVER HERO ^^ thanks to ALL ALLIEDMODDERS !! Credits ++++
*/
Must Be included !
/*
#include <amxmodx>
#include <superheromod>
new gHeroName[]="Newbie"
new bool: gHasSuperPower[SH_MAXSLOTS+1]
public plugin_init()
{
register_plugin("Newbie","1.0","Maxblaze");
register_cvar(Newbie_level","3");
shCreateHero(gHeroName, "HP,AP,DMG,", "Maxblazes First Hero (easyone)", false, "Newbie_level");
register_srvcmd("Newbie_init","Newbie_init")
shRegHeroInit(gHeroName, "Newie_init")
}
public Newbie_init()
{
new temp[6];
read_argv(1,temp,5)
new id = str_to_num(temp)
read_argv(2,temp,5);
new hasPower = str_to_num(temp);
gHasSuperPower[id] = (hasPowers !=0)
{
public plugin_init ()
{
register_cvar("Newbie_health", "150");
shSetMaxHealth(gHeroName, "Newbie_health");
}
public Newbie_init()
{
if (!hasPowers && gHasSuperPower[id] && is_user_alive(id)) {
shRemHealthPower(id);
}
}
public plugin_init()
{

register_cvar("Newbie_armor", "150"); //cvar for armor

shSetMaxArmor(gHeroName, "Newbie_armor"); //set armor
}
public Newbie_init() {
if (!hasPowers && gHasSuperPower[id] && is_user_alive(id)) {
shRemArmorPower(id);
}
}
public plugin_init()
{

register_cvar("Newbie_grav", "0.25"); //cvar for grav

shSetMinGravity(gHeroName, "Newbie_grav"); //set grav
}
public Newbie_init()
{
if (!hasPowers && gHasSuperPower[id] && is_user_alive(id)) {
shRemGravityPower(id);
}
}
public plugin_init()
{

register_cvar("Newbie_speed", "600.0");

shSetMaxSpeed(gHeroName, "Newbie_speed", "[0]");
}
public Newbie_init() {
//...
if (!hasPowers && gHasSuperPower[id] && is_user_alive(id)) {
shRemSpeedPower(id);
}
}

when i press compile all it sais is this

//// sh_newhero
//
// Compilation Time 0.11 sec
//-----------------------------

Press enter to exit
Maxblaze is offline
 



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 11:10.


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