Hero creator
 
HomePortalFAQSearchMemberlistUsergroupsRegisterLog inLink to us

Share | 
 

 model function also check after possible bugs from my program got attacked

Go down 
AuthorMessage
micke1101


avatar

Number of posts : 152
Age : 24
Location : Sverige/Vxj | Sweden/vaxjo
Karma: : <font color="green"><b>Very good</b></font>
Warning :
0 / 1000 / 100

Rank permisson :
10 / 10010 / 100

Next Permisson : You cant get any higher XD
<font></font> :
Steamid : STEAM_0:1:17811664
Registration date : 2008-07-23

PostSubject: model function also check after possible bugs from my program got attacked   Sun Jul 27, 2008 6:53 am

here


Last edited by micke1101 on Sun Jul 27, 2008 7:11 am; edited 1 time in total
Back to top Go down
View user profile http://amxmodx.darkbb.com
Dr. Jan Itor


avatar

Number of posts : 43
Age : 28
Karma: : <font color="green"><b>Good</b></font>
Warning :
0 / 1000 / 100

Rank permisson :
0 / 1000 / 100

Next Permisson : Admin
<font></font> :
Steamid : Plz fill in steamid
Registration date : 2008-07-23

PostSubject: Re: model function also check after possible bugs from my program got attacked   Sun Jul 27, 2008 6:59 am

aw u removed quick reply its so much easier n faster. well weapon multiplier box shows up when u uncross it and dissapears when u cross,
still weapon multiplier for shield and some of ur check boxes are bugged
Back to top Go down
View user profile http://www.g5gaming.com
micke1101


avatar

Number of posts : 152
Age : 24
Location : Sverige/Vxj | Sweden/vaxjo
Karma: : <font color="green"><b>Very good</b></font>
Warning :
0 / 1000 / 100

Rank permisson :
10 / 10010 / 100

Next Permisson : You cant get any higher XD
<font></font> :
Steamid : STEAM_0:1:17811664
Registration date : 2008-07-23

PostSubject: Re: model function also check after possible bugs from my program got attacked   Sun Jul 27, 2008 7:04 am

it was removed cause it took some space XD but should i have it?
and i hadnt checked the boxes XD

edit

wtf like all my false was turned into true and the opposite
Back to top Go down
View user profile http://amxmodx.darkbb.com
Dr. Jan Itor


avatar

Number of posts : 43
Age : 28
Karma: : <font color="green"><b>Good</b></font>
Warning :
0 / 1000 / 100

Rank permisson :
0 / 1000 / 100

Next Permisson : Admin
<font></font> :
Steamid : Plz fill in steamid
Registration date : 2008-07-23

PostSubject: Re: model function also check after possible bugs from my program got attacked   Sun Jul 27, 2008 7:16 am

yes you should have quick reply its alot more comfortable edit: nothing comes up at player model field in generator
Back to top Go down
View user profile http://www.g5gaming.com
micke1101


avatar

Number of posts : 152
Age : 24
Location : Sverige/Vxj | Sweden/vaxjo
Karma: : <font color="green"><b>Very good</b></font>
Warning :
0 / 1000 / 100

Rank permisson :
10 / 10010 / 100

Next Permisson : You cant get any higher XD
<font></font> :
Steamid : STEAM_0:1:17811664
Registration date : 2008-07-23

PostSubject: Re: model function also check after possible bugs from my program got attacked   Sun Jul 27, 2008 7:21 am

i know that cause i havent done a function there yet but will this was just weapon model function
Back to top Go down
View user profile http://amxmodx.darkbb.com
Dr. Jan Itor


avatar

Number of posts : 43
Age : 28
Karma: : <font color="green"><b>Good</b></font>
Warning :
0 / 1000 / 100

Rank permisson :
0 / 1000 / 100

Next Permisson : Admin
<font></font> :
Steamid : Plz fill in steamid
Registration date : 2008-07-23

PostSubject: Re: model function also check after possible bugs from my program got attacked   Sun Jul 27, 2008 7:24 am

Code:
//Created using micke1101's Hero creater
#include <amxmodx>
#include <superheromod>
#include <fakemeta>

#define Herogen_version "1.0beta"

new gHeroName[]="aha"
new bool:gHasmehaPower[SH_MAXSLOTS+1]
public plugin_init() {
          register_plugin("SUPERHERO aha", "1.0", "micke1101s shgenerator")

          //Cvars copy and paste in to shconfig.cfg
          register_cvar("meha_level", "10")
          shCreateHero(gHeroName, "i r leet", "are i leet", false, "aha_level")

          //Init
          register_srvcmd("meha_init", "meha_init")
          shRegHeroInit(gHeroName, "meha_init")
          register_event("CurWeapon","changeWeapon","be","1=1")
    register_cvar("micke1101", "Herogen_version", FCVAR_SERVER|FCVAR_SPONLY)
}
public meha_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 && gHasmehaPower[id] && is_user_alive(id)) {
      switch_model(id)
    gHasmehaPower[id] = (hasPowers != 0)
  }
}
switch_model(id)
{
      if ( !shModActive() || !is_user_alive(id) || !gHasmehaPower[id] )
          return

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

      if ( wpnid == CSW_XM1014 )
      {
          set_pev(id, pev_weaponmodel2, "models/shmod/meha_p_xm1014.mdl")
          set_pev(id, pev_viewmodel2, "models/shmod/meha_v_xm1014.mdl")
      }
}
public changeWeapon(id)
{
      if ( !gHasmehaPower[id] || !shModActive() ) return
      if ( read_data(2) != CSW_XM1014 )
          return
      switch_model(id)
}

why did it put this in switchmodel
new clip, ammo, wpnid = get_user_weapon(id, clip, ammo)
Back to top Go down
View user profile http://www.g5gaming.com
micke1101


avatar

Number of posts : 152
Age : 24
Location : Sverige/Vxj | Sweden/vaxjo
Karma: : <font color="green"><b>Very good</b></font>
Warning :
0 / 1000 / 100

Rank permisson :
10 / 10010 / 100

Next Permisson : You cant get any higher XD
<font></font> :
Steamid : STEAM_0:1:17811664
Registration date : 2008-07-23

PostSubject: Re: model function also check after possible bugs from my program got attacked   Sun Jul 27, 2008 7:37 am

to know what weapon the player uses it scanns it and if it is the decided it sets the models
Back to top Go down
View user profile http://amxmodx.darkbb.com
micke1101


avatar

Number of posts : 152
Age : 24
Location : Sverige/Vxj | Sweden/vaxjo
Karma: : <font color="green"><b>Very good</b></font>
Warning :
0 / 1000 / 100

Rank permisson :
10 / 10010 / 100

Next Permisson : You cant get any higher XD
<font></font> :
Steamid : STEAM_0:1:17811664
Registration date : 2008-07-23

PostSubject: Re: model function also check after possible bugs from my program got attacked   Sun Jul 27, 2008 8:01 am

try this update should give player model and checks fixed
here
Back to top Go down
View user profile http://amxmodx.darkbb.com
Dr. Jan Itor


avatar

Number of posts : 43
Age : 28
Karma: : <font color="green"><b>Good</b></font>
Warning :
0 / 1000 / 100

Rank permisson :
0 / 1000 / 100

Next Permisson : Admin
<font></font> :
Steamid : Plz fill in steamid
Registration date : 2008-07-23

PostSubject: Re: model function also check after possible bugs from my program got attacked   Sun Jul 27, 2008 8:04 am

bah so much easier with quick reply , ok
Back to top Go down
View user profile http://www.g5gaming.com
micke1101


avatar

Number of posts : 152
Age : 24
Location : Sverige/Vxj | Sweden/vaxjo
Karma: : <font color="green"><b>Very good</b></font>
Warning :
0 / 1000 / 100

Rank permisson :
10 / 10010 / 100

Next Permisson : You cant get any higher XD
<font></font> :
Steamid : STEAM_0:1:17811664
Registration date : 2008-07-23

PostSubject: Re: model function also check after possible bugs from my program got attacked   Sun Jul 27, 2008 8:06 am

like this XD
Back to top Go down
View user profile http://amxmodx.darkbb.com
Dr. Jan Itor


avatar

Number of posts : 43
Age : 28
Karma: : <font color="green"><b>Good</b></font>
Warning :
0 / 1000 / 100

Rank permisson :
0 / 1000 / 100

Next Permisson : Admin
<font></font> :
Steamid : Plz fill in steamid
Registration date : 2008-07-23

PostSubject: Re: model function also check after possible bugs from my program got attacked   Sun Jul 27, 2008 8:10 am

yes it is much easier with quick reply and nicer
Back to top Go down
View user profile http://www.g5gaming.com
micke1101


avatar

Number of posts : 152
Age : 24
Location : Sverige/Vxj | Sweden/vaxjo
Karma: : <font color="green"><b>Very good</b></font>
Warning :
0 / 1000 / 100

Rank permisson :
10 / 10010 / 100

Next Permisson : You cant get any higher XD
<font></font> :
Steamid : STEAM_0:1:17811664
Registration date : 2008-07-23

PostSubject: Re: model function also check after possible bugs from my program got attacked   Mon Jul 28, 2008 6:45 am

if(Have tested in game) == yes
{
Does it work?
} else {
When will you?
}
Back to top Go down
View user profile http://amxmodx.darkbb.com
Dr. Jan Itor


avatar

Number of posts : 43
Age : 28
Karma: : <font color="green"><b>Good</b></font>
Warning :
0 / 1000 / 100

Rank permisson :
0 / 1000 / 100

Next Permisson : Admin
<font></font> :
Steamid : Plz fill in steamid
Registration date : 2008-07-23

PostSubject: Re: model function also check after possible bugs from my program got attacked   Mon Jul 28, 2008 7:09 am

why use so many {} u dont need that many
Back to top Go down
View user profile http://www.g5gaming.com
micke1101


avatar

Number of posts : 152
Age : 24
Location : Sverige/Vxj | Sweden/vaxjo
Karma: : <font color="green"><b>Very good</b></font>
Warning :
0 / 1000 / 100

Rank permisson :
10 / 10010 / 100

Next Permisson : You cant get any higher XD
<font></font> :
Steamid : STEAM_0:1:17811664
Registration date : 2008-07-23

PostSubject: Re: model function also check after possible bugs from my program got attacked   Mon Jul 28, 2008 7:27 am

where for example is it unnessesary?
and answer my question?
Back to top Go down
View user profile http://amxmodx.darkbb.com
Dr. Jan Itor


avatar

Number of posts : 43
Age : 28
Karma: : <font color="green"><b>Good</b></font>
Warning :
0 / 1000 / 100

Rank permisson :
0 / 1000 / 100

Next Permisson : Admin
<font></font> :
Steamid : Plz fill in steamid
Registration date : 2008-07-23

PostSubject: Re: model function also check after possible bugs from my program got attacked   Mon Jul 28, 2008 7:49 am

Idk when i will test ingame lol
new bool: tested
if(Have_testedingame) && works == true
tested = true
return Herogen_fixed
}
} else {
if(have_testedingame) == false
tested = false
client_print(0, print_chat, "when will you test")
return herogen_nottested
}
Back to top Go down
View user profile http://www.g5gaming.com
micke1101


avatar

Number of posts : 152
Age : 24
Location : Sverige/Vxj | Sweden/vaxjo
Karma: : <font color="green"><b>Very good</b></font>
Warning :
0 / 1000 / 100

Rank permisson :
10 / 10010 / 100

Next Permisson : You cant get any higher XD
<font></font> :
Steamid : STEAM_0:1:17811664
Registration date : 2008-07-23

PostSubject: Re: model function also check after possible bugs from my program got attacked   Mon Jul 28, 2008 8:04 am

Dr. Jan Itor wrote:
Idk when i will test ingame lol
new bool: tested
if(Have_testedingame) && works == true
tested = true
return Herogen_fixed
}
} else {
if(have_testedingame) == false
tested = false
client_print(0, print_chat, "when will you test")
return herogen_nottested
}
that wont work XD it will return several errors XD
}
} else {
should be
} else {

_________________
Hi Guest to my forum!!
Back to top Go down
View user profile http://amxmodx.darkbb.com
Dr. Jan Itor


avatar

Number of posts : 43
Age : 28
Karma: : <font color="green"><b>Good</b></font>
Warning :
0 / 1000 / 100

Rank permisson :
0 / 1000 / 100

Next Permisson : Admin
<font></font> :
Steamid : Plz fill in steamid
Registration date : 2008-07-23

PostSubject: Re: model function also check after possible bugs from my program got attacked   Mon Jul 28, 2008 8:56 am

well whatever a typo

_________________

Rick Roll (Plugin)
Back to top Go down
View user profile http://www.g5gaming.com
micke1101


avatar

Number of posts : 152
Age : 24
Location : Sverige/Vxj | Sweden/vaxjo
Karma: : <font color="green"><b>Very good</b></font>
Warning :
0 / 1000 / 100

Rank permisson :
10 / 10010 / 100

Next Permisson : You cant get any higher XD
<font></font> :
Steamid : STEAM_0:1:17811664
Registration date : 2008-07-23

PostSubject: Re: model function also check after possible bugs from my program got attacked   Tue Jul 29, 2008 6:37 am

This should be fixed after Atspylgs notices
Download here

_________________
Hi Guest to my forum!!
Back to top Go down
View user profile http://amxmodx.darkbb.com
micke1101


avatar

Number of posts : 152
Age : 24
Location : Sverige/Vxj | Sweden/vaxjo
Karma: : <font color="green"><b>Very good</b></font>
Warning :
0 / 1000 / 100

Rank permisson :
10 / 10010 / 100

Next Permisson : You cant get any higher XD
<font></font> :
Steamid : STEAM_0:1:17811664
Registration date : 2008-07-23

PostSubject: Re: model function also check after possible bugs from my program got attacked   Wed Jul 30, 2008 7:35 am

Copy what is in my code window below and add X between [] if its tested in game and works if it is error in it/dosent work /bugged add a f
and its of course just for the codes you get from the generator
Code:
The base(Hero name etc)[]
Hp[]
AP[]
Speed[]
Gravity[]
Weapon at spawn[]
weapon multiplier[]
unlimited ammo[]
weapon models[]
player models[]

_________________
Hi Guest to my forum!!
Back to top Go down
View user profile http://amxmodx.darkbb.com
Sponsored content




PostSubject: Re: model function also check after possible bugs from my program got attacked   

Back to top Go down
 
model function also check after possible bugs from my program got attacked
Back to top 
Page 1 of 1
 Similar topics
-
» Can I check the error message displayed or not in Selenium?
» how to check the existing value in the textbox using selenium webdriver.
» About Selenium Bugs
» Page Object Model
» how to select text from a disabled field?

Permissions in this forum:You cannot reply to topics in this forum
Hero creator :: Trash-
Jump to: