| model function also check after possible bugs from my program got attacked | |
|
|
Author | Message |
---|
micke1101
Number of posts : 152 Age : 30 Location : Sverige/Växjö | Sweden/vaxjo Karma: : <font color="green"><b>Very good</b></font> Warning : Rank permisson : Next Permisson : You cant get any higher XD <font></font> : Steamid : STEAM_0:1:17811664 Registration date : 2008-07-23
| Subject: model function also check after possible bugs from my program got attacked Sun Jul 27, 2008 6:53 am | |
|
Last edited by micke1101 on Sun Jul 27, 2008 7:11 am; edited 1 time in total | |
|
| |
Dr. Jan Itor
Number of posts : 43 Age : 34 Karma: : <font color="green"><b>Good</b></font> Warning : Rank permisson : Next Permisson : Admin <font></font> : Steamid : Plz fill in steamid Registration date : 2008-07-23
| Subject: 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 | |
|
| |
micke1101
Number of posts : 152 Age : 30 Location : Sverige/Växjö | Sweden/vaxjo Karma: : <font color="green"><b>Very good</b></font> Warning : Rank permisson : Next Permisson : You cant get any higher XD <font></font> : Steamid : STEAM_0:1:17811664 Registration date : 2008-07-23
| Subject: 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 | |
|
| |
Dr. Jan Itor
Number of posts : 43 Age : 34 Karma: : <font color="green"><b>Good</b></font> Warning : Rank permisson : Next Permisson : Admin <font></font> : Steamid : Plz fill in steamid Registration date : 2008-07-23
| Subject: 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 | |
|
| |
micke1101
Number of posts : 152 Age : 30 Location : Sverige/Växjö | Sweden/vaxjo Karma: : <font color="green"><b>Very good</b></font> Warning : Rank permisson : Next Permisson : You cant get any higher XD <font></font> : Steamid : STEAM_0:1:17811664 Registration date : 2008-07-23
| Subject: 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 | |
|
| |
Dr. Jan Itor
Number of posts : 43 Age : 34 Karma: : <font color="green"><b>Good</b></font> Warning : Rank permisson : Next Permisson : Admin <font></font> : Steamid : Plz fill in steamid Registration date : 2008-07-23
| Subject: 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) | |
|
| |
micke1101
Number of posts : 152 Age : 30 Location : Sverige/Växjö | Sweden/vaxjo Karma: : <font color="green"><b>Very good</b></font> Warning : Rank permisson : Next Permisson : You cant get any higher XD <font></font> : Steamid : STEAM_0:1:17811664 Registration date : 2008-07-23
| Subject: 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 | |
|
| |
micke1101
Number of posts : 152 Age : 30 Location : Sverige/Växjö | Sweden/vaxjo Karma: : <font color="green"><b>Very good</b></font> Warning : Rank permisson : Next Permisson : You cant get any higher XD <font></font> : Steamid : STEAM_0:1:17811664 Registration date : 2008-07-23
| Subject: 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 | |
|
| |
Dr. Jan Itor
Number of posts : 43 Age : 34 Karma: : <font color="green"><b>Good</b></font> Warning : Rank permisson : Next Permisson : Admin <font></font> : Steamid : Plz fill in steamid Registration date : 2008-07-23
| Subject: 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 | |
|
| |
micke1101
Number of posts : 152 Age : 30 Location : Sverige/Växjö | Sweden/vaxjo Karma: : <font color="green"><b>Very good</b></font> Warning : Rank permisson : Next Permisson : You cant get any higher XD <font></font> : Steamid : STEAM_0:1:17811664 Registration date : 2008-07-23
| Subject: Re: model function also check after possible bugs from my program got attacked Sun Jul 27, 2008 8:06 am | |
| | |
|
| |
Dr. Jan Itor
Number of posts : 43 Age : 34 Karma: : <font color="green"><b>Good</b></font> Warning : Rank permisson : Next Permisson : Admin <font></font> : Steamid : Plz fill in steamid Registration date : 2008-07-23
| Subject: 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 | |
|
| |
micke1101
Number of posts : 152 Age : 30 Location : Sverige/Växjö | Sweden/vaxjo Karma: : <font color="green"><b>Very good</b></font> Warning : Rank permisson : Next Permisson : You cant get any higher XD <font></font> : Steamid : STEAM_0:1:17811664 Registration date : 2008-07-23
| Subject: 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? } | |
|
| |
Dr. Jan Itor
Number of posts : 43 Age : 34 Karma: : <font color="green"><b>Good</b></font> Warning : Rank permisson : Next Permisson : Admin <font></font> : Steamid : Plz fill in steamid Registration date : 2008-07-23
| Subject: 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 | |
|
| |
micke1101
Number of posts : 152 Age : 30 Location : Sverige/Växjö | Sweden/vaxjo Karma: : <font color="green"><b>Very good</b></font> Warning : Rank permisson : Next Permisson : You cant get any higher XD <font></font> : Steamid : STEAM_0:1:17811664 Registration date : 2008-07-23
| Subject: 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? | |
|
| |
Dr. Jan Itor
Number of posts : 43 Age : 34 Karma: : <font color="green"><b>Good</b></font> Warning : Rank permisson : Next Permisson : Admin <font></font> : Steamid : Plz fill in steamid Registration date : 2008-07-23
| Subject: 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 } | |
|
| |
micke1101
Number of posts : 152 Age : 30 Location : Sverige/Växjö | Sweden/vaxjo Karma: : <font color="green"><b>Very good</b></font> Warning : Rank permisson : Next Permisson : You cant get any higher XD <font></font> : Steamid : STEAM_0:1:17811664 Registration date : 2008-07-23
| Subject: 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 { | |
|
| |
Dr. Jan Itor
Number of posts : 43 Age : 34 Karma: : <font color="green"><b>Good</b></font> Warning : Rank permisson : Next Permisson : Admin <font></font> : Steamid : Plz fill in steamid Registration date : 2008-07-23
| Subject: Re: model function also check after possible bugs from my program got attacked Mon Jul 28, 2008 8:56 am | |
| | |
|
| |
micke1101
Number of posts : 152 Age : 30 Location : Sverige/Växjö | Sweden/vaxjo Karma: : <font color="green"><b>Very good</b></font> Warning : Rank permisson : Next Permisson : You cant get any higher XD <font></font> : Steamid : STEAM_0:1:17811664 Registration date : 2008-07-23
| Subject: 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 | |
|
| |
micke1101
Number of posts : 152 Age : 30 Location : Sverige/Växjö | Sweden/vaxjo Karma: : <font color="green"><b>Very good</b></font> Warning : Rank permisson : Next Permisson : You cant get any higher XD <font></font> : Steamid : STEAM_0:1:17811664 Registration date : 2008-07-23
| Subject: 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[] | |
|
| |
Sponsored content
| Subject: Re: model function also check after possible bugs from my program got attacked | |
| |
|
| |
| model function also check after possible bugs from my program got attacked | |
|