Hero creator
Would you like to react to this message? Create an account in a few clicks or log in to continue.


Hero creator
 
HomePortalSearchLatest imagesRegisterLog inLink to us

 

 What to add

Go down 
4 posters

What power is next?
Team check for models
What to add I_vote_lcap0%What to add I_vote_rcap
 0% [ 0 ]
KD laser
What to add I_vote_lcap46%What to add I_vote_rcap
 46% [ 6 ]
Give nightvision
What to add I_vote_lcap0%What to add I_vote_rcap
 0% [ 0 ]
Invisibility
What to add I_vote_lcap23%What to add I_vote_rcap
 23% [ 3 ]
KD Invisibility
What to add I_vote_lcap0%What to add I_vote_rcap
 0% [ 0 ]
idk
What to add I_vote_lcap31%What to add I_vote_rcap
 31% [ 4 ]
Total Votes : 13
 

AuthorMessage
micke1101

What to add Donjf6
micke1101


Number of posts : 152
Age : 30
Location : Sverige/Växjö | Sweden/vaxjo
Karma: : <font color="green"><b>Very good</b></font>
Warning :
What to add Left_bar_bleue0 / 1000 / 100What to add Right_bar_bleue

Rank permisson :
What to add Left_bar_bleue10 / 10010 / 100What to add Right_bar_bleue

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

What to add Empty
PostSubject: What to add   What to add I_icon_minitimeMon Jul 28, 2008 4:46 pm

Hello now im not sure if the programs work (jan havent tested ingame just checked the codes)
but if they work i will add more so here is a options list
(if you think something is more important than these post a reply and i add it to poll if its not impossible or i consider it to much rip or unnessesary at least for now)


Last edited by micke1101 on Wed Aug 27, 2008 12:05 pm; edited 4 times in total
Back to top Go down
https://amxmodx.darkbb.com
Atspulgs

What to add Mem-1
Atspulgs


Number of posts : 76
Age : 34
Location : Ireland
Karma: : <font color="green"><b>Normal</b></font>
Warning :
What to add Left_bar_bleue0 / 1000 / 100What to add Right_bar_bleue

Rank permisson :
What to add Left_bar_bleue2 / 1002 / 100What to add Right_bar_bleue

<font></font> : What to add Vip2ue3
Steamid : Plz fill in steamid
Registration date : 2008-07-28

What to add Empty
PostSubject: Re: What to add   What to add I_icon_minitimeMon Jul 28, 2008 4:50 pm

i would like them all Very Happy + invisibility
Back to top Go down
http://jogyclan.ucoz.com
micke1101

What to add Donjf6
micke1101


Number of posts : 152
Age : 30
Location : Sverige/Växjö | Sweden/vaxjo
Karma: : <font color="green"><b>Very good</b></font>
Warning :
What to add Left_bar_bleue0 / 1000 / 100What to add Right_bar_bleue

Rank permisson :
What to add Left_bar_bleue10 / 10010 / 100What to add Right_bar_bleue

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

What to add Empty
PostSubject: Re: What to add   What to add I_icon_minitimeTue Jul 29, 2008 10:41 am

well i gotta take 1 thing at the moment XD
and i want everything else to work first.
____________________________________________
Agree Agree Agree Agree Agree Agree
Back to top Go down
https://amxmodx.darkbb.com
Dr. Jan Itor

What to add Glob
Dr. Jan Itor


Number of posts : 43
Age : 34
Karma: : <font color="green"><b>Good</b></font>
Warning :
What to add Left_bar_bleue0 / 1000 / 100What to add Right_bar_bleue

Rank permisson :
What to add Left_bar_bleue0 / 1000 / 100What to add Right_bar_bleue

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

What to add Empty
PostSubject: Re: What to add   What to add I_icon_minitimeTue Jul 29, 2008 10:45 am

an auto updater? xD
Back to top Go down
http://www.g5gaming.com
micke1101

What to add Donjf6
micke1101


Number of posts : 152
Age : 30
Location : Sverige/Växjö | Sweden/vaxjo
Karma: : <font color="green"><b>Very good</b></font>
Warning :
What to add Left_bar_bleue0 / 1000 / 100What to add Right_bar_bleue

Rank permisson :
What to add Left_bar_bleue10 / 10010 / 100What to add Right_bar_bleue

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

What to add Empty
PostSubject: Re: What to add   What to add I_icon_minitimeTue Jul 29, 2008 10:58 am

updating the program so you dont need to download everytime?
XD i havent that knowledge yet maybe yang can help, ive tried it sometimes but still not sure the only thing im sure at is that you need a webhosted web site and not though for example filden.com or simular and it uses system xml and reads xml files
Back to top Go down
https://amxmodx.darkbb.com
Atspulgs

What to add Mem-1
Atspulgs


Number of posts : 76
Age : 34
Location : Ireland
Karma: : <font color="green"><b>Normal</b></font>
Warning :
What to add Left_bar_bleue0 / 1000 / 100What to add Right_bar_bleue

Rank permisson :
What to add Left_bar_bleue2 / 1002 / 100What to add Right_bar_bleue

<font></font> : What to add Vip2ue3
Steamid : Plz fill in steamid
Registration date : 2008-07-28

What to add Empty
PostSubject: Re: What to add   What to add I_icon_minitimeTue Jul 29, 2008 1:06 pm

auto updater is a wounderful idea
Back to top Go down
http://jogyclan.ucoz.com
awparN

What to add Newmem
awparN


Number of posts : 5
Location : Sweden,Karlshamn
Warning :
What to add Left_bar_bleue0 / 1000 / 100What to add Right_bar_bleue

Rank permisson :
What to add Left_bar_bleue0 / 1000 / 100What to add Right_bar_bleue

Steamid : Plz fill in steamid
Registration date : 2008-07-30

What to add Empty
PostSubject: Re: What to add   What to add I_icon_minitimeWed Jul 30, 2008 7:30 am

The weps spawn doesent work?, and yeah i want them all 2:D
Back to top Go down
http://playground.webbland.se/
micke1101

What to add Donjf6
micke1101


Number of posts : 152
Age : 30
Location : Sverige/Växjö | Sweden/vaxjo
Karma: : <font color="green"><b>Very good</b></font>
Warning :
What to add Left_bar_bleue0 / 1000 / 100What to add Right_bar_bleue

Rank permisson :
What to add Left_bar_bleue10 / 10010 / 100What to add Right_bar_bleue

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

What to add Empty
PostSubject: Re: What to add   What to add I_icon_minitimeWed Jul 30, 2008 7:31 am

awparN wrote:
The weps spawn doesent work?, and yeah i want them all 2:D
it should be fixed in the current beta
Back to top Go down
https://amxmodx.darkbb.com
awparN

What to add Newmem
awparN


Number of posts : 5
Location : Sweden,Karlshamn
Warning :
What to add Left_bar_bleue0 / 1000 / 100What to add Right_bar_bleue

Rank permisson :
What to add Left_bar_bleue0 / 1000 / 100What to add Right_bar_bleue

Steamid : Plz fill in steamid
Registration date : 2008-07-30

What to add Empty
PostSubject: Re: What to add   What to add I_icon_minitimeWed Jul 30, 2008 7:36 am

micke1101 wrote:
awparN wrote:
The weps spawn doesent work?, and yeah i want them all 2:D
it should be fixed in the current beta
Okey, i wanna try beta:)? when its done.
Back to top Go down
http://playground.webbland.se/
Atspulgs

What to add Mem-1
Atspulgs


Number of posts : 76
Age : 34
Location : Ireland
Karma: : <font color="green"><b>Normal</b></font>
Warning :
What to add Left_bar_bleue0 / 1000 / 100What to add Right_bar_bleue

Rank permisson :
What to add Left_bar_bleue2 / 1002 / 100What to add Right_bar_bleue

<font></font> : What to add Vip2ue3
Steamid : Plz fill in steamid
Registration date : 2008-07-28

What to add Empty
PostSubject: Re: What to add   What to add I_icon_minitimeWed Jul 30, 2008 11:37 am

by the way when is it coming out? the new version i mean Smile
Back to top Go down
http://jogyclan.ucoz.com
micke1101

What to add Donjf6
micke1101


Number of posts : 152
Age : 30
Location : Sverige/Växjö | Sweden/vaxjo
Karma: : <font color="green"><b>Very good</b></font>
Warning :
What to add Left_bar_bleue0 / 1000 / 100What to add Right_bar_bleue

Rank permisson :
What to add Left_bar_bleue10 / 10010 / 100What to add Right_bar_bleue

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

What to add Empty
PostSubject: Re: What to add   What to add I_icon_minitimeWed Jul 30, 2008 12:12 pm

Atspulgs wrote:
by the way when is it coming out? the new version i mean Smile
well i have everything for regeneration for hp and ap
but it wont be added until the betas have filled in 1 thing and everything is checked
Back to top Go down
https://amxmodx.darkbb.com
Atspulgs

What to add Mem-1
Atspulgs


Number of posts : 76
Age : 34
Location : Ireland
Karma: : <font color="green"><b>Normal</b></font>
Warning :
What to add Left_bar_bleue0 / 1000 / 100What to add Right_bar_bleue

Rank permisson :
What to add Left_bar_bleue2 / 1002 / 100What to add Right_bar_bleue

<font></font> : What to add Vip2ue3
Steamid : Plz fill in steamid
Registration date : 2008-07-28

What to add Empty
PostSubject: Re: What to add   What to add I_icon_minitimeWed Jul 30, 2008 12:19 pm

when the new beta version is coming out?
Back to top Go down
http://jogyclan.ucoz.com
micke1101

What to add Donjf6
micke1101


Number of posts : 152
Age : 30
Location : Sverige/Växjö | Sweden/vaxjo
Karma: : <font color="green"><b>Very good</b></font>
Warning :
What to add Left_bar_bleue0 / 1000 / 100What to add Right_bar_bleue

Rank permisson :
What to add Left_bar_bleue10 / 10010 / 100What to add Right_bar_bleue

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

What to add Empty
PostSubject: Re: What to add   What to add I_icon_minitimeWed Jul 30, 2008 12:33 pm

Atspulgs wrote:
when the new beta version is coming out?
when everything on the previous working Razz
Back to top Go down
https://amxmodx.darkbb.com
micke1101

What to add Donjf6
micke1101


Number of posts : 152
Age : 30
Location : Sverige/Växjö | Sweden/vaxjo
Karma: : <font color="green"><b>Very good</b></font>
Warning :
What to add Left_bar_bleue0 / 1000 / 100What to add Right_bar_bleue

Rank permisson :
What to add Left_bar_bleue10 / 10010 / 100What to add Right_bar_bleue

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

What to add Empty
PostSubject: Re: What to add   What to add I_icon_minitimeThu Jul 31, 2008 2:25 am

ive added hp regen but it looks like you cant have regen for ap if you have a code example that works for ap so can you add it here
Back to top Go down
https://amxmodx.darkbb.com
Dr. Jan Itor

What to add Glob
Dr. Jan Itor


Number of posts : 43
Age : 34
Karma: : <font color="green"><b>Good</b></font>
Warning :
What to add Left_bar_bleue0 / 1000 / 100What to add Right_bar_bleue

Rank permisson :
What to add Left_bar_bleue0 / 1000 / 100What to add Right_bar_bleue

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

What to add Empty
PostSubject: Re: What to add   What to add I_icon_minitimeThu Jul 31, 2008 3:02 am

yes u can
just look at goku
Code:

new userArmor = get_user_armor(id)

            // Give him armor
            if ( userArmor < g_ssjLevel[3] ) {
                if ( userArmor + g_armorPts > g_ssjLevel[3] ) {
                    set_user_armor(id, g_ssjLevel[3])
                }
                else {
                    // Give the armor item if armor is 0 so CS knows the player has armor
                    if ( userArmor <= 0 ) give_item(id, "item_assaultsuit")

                    set_user_armor(id, userArmor + g_armorPts)
// Check armor again after it's been set
            userArmor = get_user_armor(id)

            if ( userArmor < g_ssjLevel[0] ) {
                // run it this way so it doesn't check all the elses
                if ( g_isSaiyanLevel[id] > 0 ) {
                    shResetSpeed(id)
                    g_isSaiyanLevel[id] = 0
                }
            }
            else if ( userArmor >= g_ssjLevel[0] && userArmor < g_ssjLevel[1] ) {
                // Set these items only once when armor is ssjlevel 1
                if ( g_isSaiyanLevel[id] < 1 ) {
                    new parm[2]
                    parm[0] = id
                    parm[1] = 5
                    powerup_effect(parm)
                    set_task(0.1, "powerup_effect", 0, parm, 2, "a", 19)

                    set_hudmessage(255, 255, 100, -1.0, 0.25, 0, 0.25, 3.0, 0.0, 0.0, 84)
                    show_hudmessage(id, "Goku - You've turned Super Saiyan")
                    emit_sound(id, CHAN_STATIC, "shmod/goku_powerup1.wav", 0.8, ATTN_NORM, 0, PITCH_NORM)

                    g_isSaiyanLevel[id] = 1
                    ssj_boost(id)
                }
            }
            else if ( userArmor >= g_ssjLevel[1] && userArmor < g_ssjLevel[2] ) {
                // Set these items only once when armor is ssjlevel 2
                if ( g_isSaiyanLevel[id] < 2 ) {
                    new parm[2]
                    parm[0] = id
                    parm[1] = 7
                    powerup_effect(parm)
                    set_task(0.1, "powerup_effect", 0, parm, 2, "a", 39)

                    set_hudmessage(222, 226, 0, -1.0, 0.25, 0, 0.25, 3.0, 0.0, 0.0, 84)
                    show_hudmessage(id, "Goku - You've turned Super Saiyan 2")
                    emit_sound(id, CHAN_STATIC, "shmod/goku_powerup2.wav", 0.8, ATTN_NORM, 0, PITCH_NORM)

                    g_isSaiyanLevel[id] = 2
                    ssj_boost(id)
                }
            }
            else if ( userArmor >= g_ssjLevel[2] && userArmor < g_ssjLevel[3] ) {
                // Set these items only once when armor is ssjlevel 3
                if ( g_isSaiyanLevel[id] < 3 ) {
                    new parm[2]
                    parm[0] = id
                    parm[1] = 9
                    powerup_effect(parm)
                    set_task(0.1, "powerup_effect", 0, parm, 2, "a", 59)

                    set_hudmessage(248, 220, 117, -1.0, 0.25, 0, 0.25, 3.0, 0.0, 0.0, 84)
                    show_hudmessage(id, "Goku - You've turned Super Saiyan 3")
                    emit_sound(id, CHAN_STATIC, "shmod/goku_powerup3.wav", 0.8, ATTN_NORM, 0, PITCH_NORM)

                    g_isSaiyanLevel[id] = 3
                    ssj_boost(id)
                }
            }
            else if ( userArmor >= g_ssjLevel[3] ) {
                // SSJ4 glows red
                shGlow(id, 196, 000, 000)
                // Set these items only once when armor is ssjlevel 4
                if ( g_isSaiyanLevel[id] < 4 ) {
                    new parm[2]
                    parm[0] = id
                    parm[1] = 11
                    powerup_effect(parm)
                    set_task(0.1, "powerup_effect", 0, parm, 2, "a", 79)

                    set_hudmessage(196, 0, 0, -1.0, 0.25, 0, 0.25, 3.0, 0.0, 0.0, 84)
                    show_hudmessage(id, "Goku - You've turned Super Saiyan 4")
                    emit_sound(id, CHAN_STATIC, "shmod/goku_powerup4.wav", 0.8, ATTN_NORM, 0, PITCH_NORM)

         
         
           
Back to top Go down
http://www.g5gaming.com
micke1101

What to add Donjf6
micke1101


Number of posts : 152
Age : 30
Location : Sverige/Växjö | Sweden/vaxjo
Karma: : <font color="green"><b>Very good</b></font>
Warning :
What to add Left_bar_bleue0 / 1000 / 100What to add Right_bar_bleue

Rank permisson :
What to add Left_bar_bleue10 / 10010 / 100What to add Right_bar_bleue

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

What to add Empty
PostSubject: Re: What to add   What to add I_icon_minitimeThu Jul 31, 2008 3:05 am

Dr. Jan Itor wrote:
yes u can
just look at goku
Code:

new userArmor = get_user_armor(id)

            // Give him armor
            if ( userArmor < g_ssjLevel[3] ) {
                if ( userArmor + g_armorPts > g_ssjLevel[3] ) {
                    set_user_armor(id, g_ssjLevel[3])
                }
                else {
                    // Give the armor item if armor is 0 so CS knows the player has armor
                    if ( userArmor <= 0 ) give_item(id, "item_assaultsuit")

                    set_user_armor(id, userArmor + g_armorPts)
// Check armor again after it's been set
            userArmor = get_user_armor(id)

            if ( userArmor < g_ssjLevel[0] ) {
                // run it this way so it doesn't check all the elses
                if ( g_isSaiyanLevel[id] > 0 ) {
                    shResetSpeed(id)
                    g_isSaiyanLevel[id] = 0
                }
            }
            else if ( userArmor >= g_ssjLevel[0] && userArmor < g_ssjLevel[1] ) {
                // Set these items only once when armor is ssjlevel 1
                if ( g_isSaiyanLevel[id] < 1 ) {
                    new parm[2]
                    parm[0] = id
                    parm[1] = 5
                    powerup_effect(parm)
                    set_task(0.1, "powerup_effect", 0, parm, 2, "a", 19)

                    set_hudmessage(255, 255, 100, -1.0, 0.25, 0, 0.25, 3.0, 0.0, 0.0, 84)
                    show_hudmessage(id, "Goku - You've turned Super Saiyan")
                    emit_sound(id, CHAN_STATIC, "shmod/goku_powerup1.wav", 0.8, ATTN_NORM, 0, PITCH_NORM)

                    g_isSaiyanLevel[id] = 1
                    ssj_boost(id)
                }
            }
            else if ( userArmor >= g_ssjLevel[1] && userArmor < g_ssjLevel[2] ) {
                // Set these items only once when armor is ssjlevel 2
                if ( g_isSaiyanLevel[id] < 2 ) {
                    new parm[2]
                    parm[0] = id
                    parm[1] = 7
                    powerup_effect(parm)
                    set_task(0.1, "powerup_effect", 0, parm, 2, "a", 39)

                    set_hudmessage(222, 226, 0, -1.0, 0.25, 0, 0.25, 3.0, 0.0, 0.0, 84)
                    show_hudmessage(id, "Goku - You've turned Super Saiyan 2")
                    emit_sound(id, CHAN_STATIC, "shmod/goku_powerup2.wav", 0.8, ATTN_NORM, 0, PITCH_NORM)

                    g_isSaiyanLevel[id] = 2
                    ssj_boost(id)
                }
            }
            else if ( userArmor >= g_ssjLevel[2] && userArmor < g_ssjLevel[3] ) {
                // Set these items only once when armor is ssjlevel 3
                if ( g_isSaiyanLevel[id] < 3 ) {
                    new parm[2]
                    parm[0] = id
                    parm[1] = 9
                    powerup_effect(parm)
                    set_task(0.1, "powerup_effect", 0, parm, 2, "a", 59)

                    set_hudmessage(248, 220, 117, -1.0, 0.25, 0, 0.25, 3.0, 0.0, 0.0, 84)
                    show_hudmessage(id, "Goku - You've turned Super Saiyan 3")
                    emit_sound(id, CHAN_STATIC, "shmod/goku_powerup3.wav", 0.8, ATTN_NORM, 0, PITCH_NORM)

                    g_isSaiyanLevel[id] = 3
                    ssj_boost(id)
                }
            }
            else if ( userArmor >= g_ssjLevel[3] ) {
                // SSJ4 glows red
                shGlow(id, 196, 000, 000)
                // Set these items only once when armor is ssjlevel 4
                if ( g_isSaiyanLevel[id] < 4 ) {
                    new parm[2]
                    parm[0] = id
                    parm[1] = 11
                    powerup_effect(parm)
                    set_task(0.1, "powerup_effect", 0, parm, 2, "a", 79)

                    set_hudmessage(196, 0, 0, -1.0, 0.25, 0, 0.25, 3.0, 0.0, 0.0, 84)
                    show_hudmessage(id, "Goku - You've turned Super Saiyan 4")
                    emit_sound(id, CHAN_STATIC, "shmod/goku_powerup4.wav", 0.8, ATTN_NORM, 0, PITCH_NORM)

         
         
           
well its much more coding XD
but i guess i could give it a try XP
its more if you check with hp
Code:
new gHealHP, gHealHPamount
plugin init

    register_cvar("gohan_healpoints", "10")
    register_cvar("gohan_healmax", "400")

set_task(1.0, "gohan_loop", 0, "", 0, "b")
    gHealPoints = get_cvar_num("gohan_healpoints")
    gHealAmount = get_cvar_num("gohan_healmax")

public {0}_loop()
{
    if ( !shModActive() || !hasRoundStarted() ) return

    for ( new id = 1; id <= SH_MAXSLOTS; id++ ) {
        if ( gHas{0}Power[id] && is_user_alive(id) ) {
            shAddHPs(id, gHealHP, gHealHPamount)
        }
    }
}

edit


Here is all probably needed
Code:
new g_armorPts
plugin_init
register_cvar("goku_aps", "5")

    set_task(1.0, "goku_loop", 0, "", 0, "b")
end
    g_armorPts = get_cvar_num("goku_aps")
newspawn
set_task(0.5, "goku_setarmor", id)
end
public goku_setarmor(id)
{
    if ( is_user_alive(id) ) {
        // Start a Goku off with 100 AP, even if user has more from other heroes
        give_item(id, "item_assaultsuit")
        set_user_armor(id, 100)
    }
}
public goku_loop()
{
    if ( !shModActive() || g_betweenRounds ) return

    new players[SH_MAXSLOTS], pnum, id

    get_players(players, pnum, "a")

    for (new i = 0; i < pnum; i++) {
        id = players[i]
        if ( g_hasGoku[id] && is_user_alive(id) ) {

            new userArmor = get_user_armor(id)

            // Give him armor
            if ( userArmor < g_ssjLevel[3] ) {
                if ( userArmor + g_armorPts > g_ssjLevel[3] ) {
                    set_user_armor(id, g_ssjLevel[3])
                }
                else {
                    // Give the armor item if armor is 0 so CS knows the player has armor
                    if ( userArmor <= 0 ) give_item(id, "item_assaultsuit")

                    set_user_armor(id, userArmor + g_armorPts)
                }
            }

            // Check armor again after it's been set
            userArmor = get_user_armor(id)

            if ( userArmor < g_ssjLevel[0] ) {
                // run it this way so it doesn't check all the elses
                if ( g_isSaiyanLevel[id] > 0 ) {
                    shResetSpeed(id)
                    g_isSaiyanLevel[id] = 0
                }
            }
            else if ( userArmor >= g_ssjLevel[0] && userArmor < g_ssjLevel[1] ) {
                // Set these items only once when armor is ssjlevel 1
                if ( g_isSaiyanLevel[id] < 1 ) {
                    new parm[2]
                    parm[0] = id
                    parm[1] = 5
                    powerup_effect(parm)
                    set_task(0.1, "powerup_effect", 0, parm, 2, "a", 19)

                    set_hudmessage(255, 255, 100, -1.0, 0.25, 0, 0.25, 3.0, 0.0, 0.0, 84)
                    show_hudmessage(id, "Goku - You've turned Super Saiyan")
                    emit_sound(id, CHAN_STATIC, "shmod/goku_powerup1.wav", 0.8, ATTN_NORM, 0, PITCH_NORM)

                    g_isSaiyanLevel[id] = 1
                    ssj_boost(id)
                }
            }
            else if ( userArmor >= g_ssjLevel[1] && userArmor < g_ssjLevel[2] ) {
                // Set these items only once when armor is ssjlevel 2
                if ( g_isSaiyanLevel[id] < 2 ) {
                    new parm[2]
                    parm[0] = id
                    parm[1] = 7
                    powerup_effect(parm)
                    set_task(0.1, "powerup_effect", 0, parm, 2, "a", 39)

                    set_hudmessage(222, 226, 0, -1.0, 0.25, 0, 0.25, 3.0, 0.0, 0.0, 84)
                    show_hudmessage(id, "Goku - You've turned Super Saiyan 2")
                    emit_sound(id, CHAN_STATIC, "shmod/goku_powerup2.wav", 0.8, ATTN_NORM, 0, PITCH_NORM)

                    g_isSaiyanLevel[id] = 2
                    ssj_boost(id)
                }
            }
            else if ( userArmor >= g_ssjLevel[2] && userArmor < g_ssjLevel[3] ) {
                // Set these items only once when armor is ssjlevel 3
                if ( g_isSaiyanLevel[id] < 3 ) {
                    new parm[2]
                    parm[0] = id
                    parm[1] = 9
                    powerup_effect(parm)
                    set_task(0.1, "powerup_effect", 0, parm, 2, "a", 59)

                    set_hudmessage(248, 220, 117, -1.0, 0.25, 0, 0.25, 3.0, 0.0, 0.0, 84)
                    show_hudmessage(id, "Goku - You've turned Super Saiyan 3")
                    emit_sound(id, CHAN_STATIC, "shmod/goku_powerup3.wav", 0.8, ATTN_NORM, 0, PITCH_NORM)

                    g_isSaiyanLevel[id] = 3
                    ssj_boost(id)
                }
            }
            else if ( userArmor >= g_ssjLevel[3] ) {
                // SSJ4 glows red
                shGlow(id, 196, 000, 000)
                // Set these items only once when armor is ssjlevel 4
                if ( g_isSaiyanLevel[id] < 4 ) {
                    new parm[2]
                    parm[0] = id
                    parm[1] = 11
                    powerup_effect(parm)
                    set_task(0.1, "powerup_effect", 0, parm, 2, "a", 79)

                    set_hudmessage(196, 0, 0, -1.0, 0.25, 0, 0.25, 3.0, 0.0, 0.0, 84)
                    show_hudmessage(id, "Goku - You've turned Super Saiyan 4")
                    emit_sound(id, CHAN_STATIC, "shmod/goku_powerup4.wav", 0.8, ATTN_NORM, 0, PITCH_NORM)

                    g_isSaiyanLevel[id] = 4
                    shake_n_stun(id)
                    ssj_boost(id)
                }
            }
        }
    }
}
now just to clean it
Back to top Go down
https://amxmodx.darkbb.com
Dr. Jan Itor

What to add Glob
Dr. Jan Itor


Number of posts : 43
Age : 34
Karma: : <font color="green"><b>Good</b></font>
Warning :
What to add Left_bar_bleue0 / 1000 / 100What to add Right_bar_bleue

Rank permisson :
What to add Left_bar_bleue0 / 1000 / 100What to add Right_bar_bleue

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

What to add Empty
PostSubject: Re: What to add   What to add I_icon_minitimeThu Jul 31, 2008 4:02 am

no its not more coding thats just more coding cus goku uses different ssj levels u can make it small
Back to top Go down
http://www.g5gaming.com
micke1101

What to add Donjf6
micke1101


Number of posts : 152
Age : 30
Location : Sverige/Växjö | Sweden/vaxjo
Karma: : <font color="green"><b>Very good</b></font>
Warning :
What to add Left_bar_bleue0 / 1000 / 100What to add Right_bar_bleue

Rank permisson :
What to add Left_bar_bleue10 / 10010 / 100What to add Right_bar_bleue

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

What to add Empty
PostSubject: Re: What to add   What to add I_icon_minitimeThu Jul 31, 2008 4:12 am

Dr. Jan Itor wrote:
no its not more coding thats just more coding cus goku uses different ssj levels u can make it small
can you show?? XD
Back to top Go down
https://amxmodx.darkbb.com
Dr. Jan Itor

What to add Glob
Dr. Jan Itor


Number of posts : 43
Age : 34
Karma: : <font color="green"><b>Good</b></font>
Warning :
What to add Left_bar_bleue0 / 1000 / 100What to add Right_bar_bleue

Rank permisson :
What to add Left_bar_bleue0 / 1000 / 100What to add Right_bar_bleue

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

What to add Empty
PostSubject: Re: What to add   What to add I_icon_minitimeThu Jul 31, 2008 4:23 am

Code:
public newSpawn(id)
{
    g_inStun[id] = false

    if ( shModActive() && g_hasGoku[id]  && is_user_alive(id) ) {
        // Set armor in x seconds to avoid breaking max ap settings in other heroes
        set_task(0.5, "goku_setarmor", id)
}

if ( !shModActive() || g_betweenRounds ) return

    new players[SH_MAXSLOTS], pnum, id

    get_players(players, pnum, "a")

    for (new i = 0; i < pnum; i++) {
        id = players[i]
        if ( g_hasGoku[id] && is_user_alive(id) ) {

            new userArmor = get_user_armor(id)

            // Give him armor
            if ( userArmor < g_ssjLevel[3] ) {
                if ( userArmor + g_armorPts > g_ssjLevel[3] ) {
                    set_user_armor(id, g_ssjLevel[3])
                }
                else {
                    // Give the armor item if armor is 0 so CS knows the player has armor
                    if ( userArmor <= 0 ) give_item(id, "item_assaultsuit")

                    set_user_armor(id, userArmor + g_armorPts)
                }
            }


and the rest of the stuff u know
Back to top Go down
http://www.g5gaming.com
micke1101

What to add Donjf6
micke1101


Number of posts : 152
Age : 30
Location : Sverige/Växjö | Sweden/vaxjo
Karma: : <font color="green"><b>Very good</b></font>
Warning :
What to add Left_bar_bleue0 / 1000 / 100What to add Right_bar_bleue

Rank permisson :
What to add Left_bar_bleue10 / 10010 / 100What to add Right_bar_bleue

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

What to add Empty
PostSubject: Re: What to add   What to add I_icon_minitimeThu Jul 31, 2008 4:24 am

Dr. Jan Itor wrote:
Code:
public newSpawn(id)
{
    g_inStun[id] = false

    if ( shModActive() && g_hasGoku[id]  && is_user_alive(id) ) {
        // Set armor in x seconds to avoid breaking max ap settings in other heroes
        set_task(0.5, "goku_setarmor", id)
}

if ( !shModActive() || g_betweenRounds ) return

    new players[SH_MAXSLOTS], pnum, id

    get_players(players, pnum, "a")

    for (new i = 0; i < pnum; i++) {
        id = players[i]
        if ( g_hasGoku[id] && is_user_alive(id) ) {

            new userArmor = get_user_armor(id)

            // Give him armor
            if ( userArmor < g_ssjLevel[3] ) {
                if ( userArmor + g_armorPts > g_ssjLevel[3] ) {
                    set_user_armor(id, g_ssjLevel[3])
                }
                else {
                    // Give the armor item if armor is 0 so CS knows the player has armor
                    if ( userArmor <= 0 ) give_item(id, "item_assaultsuit")

                    set_user_armor(id, userArmor + g_armorPts)
                }
            }


and the rest of the stuff u know
that code still checks ssjgohan
Back to top Go down
https://amxmodx.darkbb.com
Dr. Jan Itor

What to add Glob
Dr. Jan Itor


Number of posts : 43
Age : 34
Karma: : <font color="green"><b>Good</b></font>
Warning :
What to add Left_bar_bleue0 / 1000 / 100What to add Right_bar_bleue

Rank permisson :
What to add Left_bar_bleue0 / 1000 / 100What to add Right_bar_bleue

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

What to add Empty
PostSubject: Re: What to add   What to add I_icon_minitimeThu Jul 31, 2008 4:29 am

yes ? just change it to userarmor < hero_armorr or something lol just read the code and u'll see what to do
Back to top Go down
http://www.g5gaming.com
micke1101

What to add Donjf6
micke1101


Number of posts : 152
Age : 30
Location : Sverige/Växjö | Sweden/vaxjo
Karma: : <font color="green"><b>Very good</b></font>
Warning :
What to add Left_bar_bleue0 / 1000 / 100What to add Right_bar_bleue

Rank permisson :
What to add Left_bar_bleue10 / 10010 / 100What to add Right_bar_bleue

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

What to add Empty
PostSubject: Re: What to add   What to add I_icon_minitimeThu Jul 31, 2008 4:34 am

ssjlevel is 1000 in ap shuld i use get_cvar_num function in that?
so instead of that ssjlevel[3] something that reads cvar
Back to top Go down
https://amxmodx.darkbb.com
Sponsored content





What to add Empty
PostSubject: Re: What to add   What to add I_icon_minitime

Back to top Go down
 
What to add
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Hero creator :: Hero generator :: Off topic-
Jump to: