| | Somethings wrong | |
| | Author | Message |
---|
Atspulgs
Number of posts : 76 Age : 34 Location : Ireland Karma: : <font color="green"><b>Normal</b></font> Warning : Rank permisson : <font></font> : Steamid : Plz fill in steamid Registration date : 2008-07-28
| Subject: Somethings wrong Sat Aug 23, 2008 5:16 pm | |
| Ok i finally tested the new version. Is the script supose to look like this? - Code:
-
//Created using micke1101's Hero creater #include #include #define Herogen_version "1.0" new gHeroName[]="" new bool:gHasPower[SH_MAXSLOTS+1] public plugin_init() { register_plugin("SUPERHERO ", "1.0", "micke1101s shgenerator") //Cvars copy and paste in to shconfig.cfg register_cvar("_level", "") shCreateHero(gHeroName, "", "", false, "_level") //Init register_srvcmd("_init", "_init") shRegHeroInit(gHeroName, "_init") register_cvar("micke1101", "Herogen_version", FCVAR_SERVER|FCVAR_SPONLY) } public _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 ) { } if (!hasPowers && gHasPower[id] && is_user_alive(id)) { } gHasPower[id] = (hasPowers != 0) }
| |
| | | 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: Somethings wrong Sun Aug 24, 2008 1:36 am | |
| - Atspulgs wrote:
- Ok i finally tested the new version.
Is the script supose to look like this? - Code:
-
//Created using micke1101's Hero creater #include #include #define Herogen_version "1.0" new gHeroName[]="" new bool:gHasPower[SH_MAXSLOTS+1] public plugin_init() { register_plugin("SUPERHERO ", "1.0", "micke1101s shgenerator") //Cvars copy and paste in to shconfig.cfg register_cvar("_level", "") shCreateHero(gHeroName, "", "", false, "_level") //Init register_srvcmd("_init", "_init") shRegHeroInit(gHeroName, "_init") register_cvar("micke1101", "Herogen_version", FCVAR_SERVER|FCVAR_SPONLY) } public _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 ) { } if (!hasPowers && gHasPower[id] && is_user_alive(id)) { } gHasPower[id] = (hasPowers != 0) }
hmm there should be some text between those | |
| | | 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: Somethings wrong Sun Aug 24, 2008 5:56 am | |
| Solved sometimes i hate simple solutions How it was - Code:
-
textBox1.Text = ""; textBox10.Text = ""; textBox11.Text = ""; textBox12.Text = ""; textBox2.Text = ""; textBox3.Text = ""; textBox4.Text = ""; textBox5.Text = ""; textBox6.Text = ""; textBox7.Text = ""; textBox8.Text = ""; textBox9.Text = ""; comboBox1.Text = ""; comboBox2.Text = ""; comboBox3.Text = ""; comboBox4.Text = ""; comboBox5.Text = ""; saveFileDialog1.ShowDialog(); How it should have been - Code:
-
saveFileDialog1.ShowDialog(); textBox1.Text = ""; textBox10.Text = ""; textBox11.Text = ""; textBox12.Text = ""; textBox2.Text = ""; textBox3.Text = ""; textBox4.Text = ""; textBox5.Text = ""; textBox6.Text = ""; textBox7.Text = ""; textBox8.Text = ""; textBox9.Text = ""; comboBox1.Text = ""; comboBox2.Text = ""; comboBox3.Text = ""; comboBox4.Text = ""; comboBox5.Text = ""; So i will look up all possible errors i can find both for the 1.18 and the 1.2 then it will be updated | |
| | | Atspulgs
Number of posts : 76 Age : 34 Location : Ireland Karma: : <font color="green"><b>Normal</b></font> Warning : Rank permisson : <font></font> : Steamid : Plz fill in steamid Registration date : 2008-07-28
| Subject: Re: Somethings wrong Sun Aug 24, 2008 7:13 pm | |
| well yeah cuz if you dont you might end up with the same errors again | |
| | | Sponsored content
| Subject: Re: Somethings wrong | |
| |
| | | | Somethings wrong | |
|
| Permissions in this forum: | You cannot reply to topics in this forum
| |
| |
| Poll | | What power is next? | Team check for models | | 0% | [ 0 ] | KD laser | | 46% | [ 6 ] | Give nightvision | | 0% | [ 0 ] | Invisibility | | 23% | [ 3 ] | KD Invisibility | | 0% | [ 0 ] | idk | | 31% | [ 4 ] |
| Total Votes : 13 |
|
Latest topics | » buuuuuuugTue Apr 21, 2009 2:20 pm by zeuslt » READ:When reporting a bugThu Dec 18, 2008 10:25 am by ztus » Video tutorials?Tue Sep 30, 2008 5:31 pm by Atspulgs» question?Wed Sep 24, 2008 1:37 am by Atspulgs» Guide how to install langusesWed Sep 24, 2008 1:35 am by Atspulgs» Maybe have solved the check for update issueSat Sep 20, 2008 10:41 am by micke1101» Ill be do some changes.Thu Sep 18, 2008 12:46 pm by micke1101» few things doesnt workTue Sep 16, 2008 1:34 pm by Atspulgs» girasoleMon Sep 15, 2008 11:41 am by Atspulgs» Versions commingSun Sep 14, 2008 12:49 am by micke1101» art and computerThu Sep 11, 2008 3:41 pm by Atspulgs» Settings/customisable suggestions neededWed Sep 10, 2008 8:20 am by Atspulgs» Ive added player model and a settings window :pSun Sep 07, 2008 7:49 am by micke1101» Should i update to Grrrrrrr's shmod for cs:s?Sat Sep 06, 2008 1:18 am by micke1101» video backgroundSat Sep 06, 2008 12:31 am by micke1101 |
|