Hero creator
 
HomePortalFAQSearchMemberlistUsergroupsRegisterLog inLink to us

Share | 
 

 What to add

Go down 

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

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: What to add   Mon 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)

_________________
Hi Guest to my forum!!


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


avatar

Number of posts : 76
Age : 28
Location : Ireland
Karma: : <font color="green"><b>Normal</b></font>
Warning :
0 / 1000 / 100

Rank permisson :
2 / 1002 / 100

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

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

i would like them all Very Happy + invisibility
Back to top Go down
View user profile http://jogyclan.ucoz.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: What to add   Tue 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

_________________
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: What to add   Tue Jul 29, 2008 10:45 am

an auto updater? xD

_________________

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: What to add   Tue 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

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


avatar

Number of posts : 76
Age : 28
Location : Ireland
Karma: : <font color="green"><b>Normal</b></font>
Warning :
0 / 1000 / 100

Rank permisson :
2 / 1002 / 100

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

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

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


avatar

Number of posts : 5
Location : Sweden,Karlshamn
Warning :
0 / 1000 / 100

Rank permisson :
0 / 1000 / 100

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

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

The weps spawn doesent work?, and yeah i want them all 2:D
Back to top Go down
View user profile http://playground.webbland.se/
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: What to add   Wed 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

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


avatar

Number of posts : 5
Location : Sweden,Karlshamn
Warning :
0 / 1000 / 100

Rank permisson :
0 / 1000 / 100

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

PostSubject: Re: What to add   Wed 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
View user profile http://playground.webbland.se/
Atspulgs


avatar

Number of posts : 76
Age : 28
Location : Ireland
Karma: : <font color="green"><b>Normal</b></font>
Warning :
0 / 1000 / 100

Rank permisson :
2 / 1002 / 100

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

PostSubject: Re: What to add   Wed 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
View user profile http://jogyclan.ucoz.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: What to add   Wed 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

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


avatar

Number of posts : 76
Age : 28
Location : Ireland
Karma: : <font color="green"><b>Normal</b></font>
Warning :
0 / 1000 / 100

Rank permisson :
2 / 1002 / 100

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

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

when the new beta version is coming out?
Back to top Go down
View user profile http://jogyclan.ucoz.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: What to add   Wed Jul 30, 2008 12:33 pm

Atspulgs wrote:
when the new beta version is coming out?
when everything on the previous working Razz

_________________
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: What to add   Thu 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

_________________
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: What to add   Thu 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)

         
         
           

_________________

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: What to add   Thu 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

_________________
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: What to add   Thu 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

_________________

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: What to add   Thu 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

_________________
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: What to add   Thu 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

_________________

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: What to add   Thu 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

_________________
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: What to add   Thu 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

_________________

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: What to add   Thu 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

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




PostSubject: Re: What to add   

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: