Jump to content
  • 0
Sign in to follow this  
Deadly Brothers

pa tulong

Question

6 answers to this question

Recommended Posts

  • 0

pano po mang lagay nang prize sa team winner sa event po?

Mkakatulong po if ilalagay mo yun script dito ng event mo.

Share this post


Link to post
Share on other sites
  • 0

 

pano po mang lagay nang prize sa team winner sa event po?

Mkakatulong po if ilalagay mo yun script dito ng event mo.

eto po sir ung code script

if(.point[1]>.point[2])
{
    for( set .@i,1; .playerid[.@i]; set .@i,.@i+1 )
    {
        if( attachrid(.playerid[.@i]) )
        {
            if( getcharid(4) == $@bg_id_a )
                getitem 7227,10;
        }
    }
    Announce "[Battle Ground Defense] : Red Team Win!",0;
}else if(.point[2]>.point[1])
{
    
    for( set .@i,1; .playerid[.@i]; set .@i,.@i+1 )
    {
        if( attachrid(.playerid[.@i]) )
        {
            if( getcharid(4) == $@bg_id_b )
                getitem    7227,10;
        }
    }
    Announce "[Battle Ground Defense] : Blue Team Win!",0;
}

 

Edited by Kid Rock

Share this post


Link to post
Share on other sites
  • 0

 

 

pano po mang lagay nang prize sa team winner sa event po?

Mkakatulong po if ilalagay mo yun script dito ng event mo.

eto po sir ung code script

if(.point[1]>.point[2])
{
    for( set .@i,1; .playerid[.@i]; set .@i,.@i+1 )
    {
        if( attachrid(.playerid[.@i]) )
        {
            if( getcharid(4) == $@bg_id_a )
                getitem 7227,10;
        }
    }
    Announce "[Battle Ground Defense] : Red Team Win!",0;
}else if(.point[2]>.point[1])
{
    
    for( set .@i,1; .playerid[.@i]; set .@i,.@i+1 )
    {
        if( attachrid(.playerid[.@i]) )
        {
            if( getcharid(4) == $@bg_id_b )
                getitem    7227,10;
        }
    }
    Announce "[Battle Ground Defense] : Blue Team Win!",0;
}

 

 

Yun "getitem 7227,10;"

 

sa code mo yan po yun Prize.

 

Add ka na lang po ng another line or replace mo yun 7227(Item id to ng TCG CARD),10(This is the amount of your prize) with your item.

 

format:

getitem <item_id>,<amount>; 

Share this post


Link to post
Share on other sites
  • 0

 

 

 

pano po mang lagay nang prize sa team winner sa event po?

Mkakatulong po if ilalagay mo yun script dito ng event mo.

eto po sir ung code script

if(.point[1]>.point[2])
{
    for( set .@i,1; .playerid[.@i]; set .@i,.@i+1 )
    {
        if( attachrid(.playerid[.@i]) )
        {
            if( getcharid(4) == $@bg_id_a )
                getitem 7227,10;
        }
    }
    Announce "[Battle Ground Defense] : Red Team Win!",0;
}else if(.point[2]>.point[1])
{
    
    for( set .@i,1; .playerid[.@i]; set .@i,.@i+1 )
    {
        if( attachrid(.playerid[.@i]) )
        {
            if( getcharid(4) == $@bg_id_b )
                getitem    7227,10;
        }
    }
    Announce "[Battle Ground Defense] : Blue Team Win!",0;
}

 

 

Yun "getitem 7227,10;"

 

sa code mo yan po yun Prize.

 

Add ka na lang po ng another line or replace mo yun 7227(Item id to ng TCG CARD),10(This is the amount of your prize) with your item.

 

format:

getitem <item_id>,<amount>; 

ayun po ung amount nun prize nun winner kaso hindi siya nang bibigay nang prize sa winner na team sir

Share this post


Link to post
Share on other sites
  • 0

@Kid Rock 

pwede mo po ba ma tignan map-server if may error tuwing may nanalo?

Share this post


Link to post
Share on other sites
  • 0

@Kid Rock 

 

pwede mo po ba ma tignan map-server if may error tuwing may nanalo?

tinitignan ko lagi wala naman siya error o ano man hindi ko malaman bat ayaw mang bigay nang prize yan ganda ung code.

 

kahit pinalit ko na ito nang ganito

 

Original

for( set .@i,1; .playerid[.@i]; set .@i,.@i+1 )

Change

for( set .i,1; .playerid[.i]; set .i,.i+1 )

ayaw pa rin nya mang bigay.

Edited by Kid Rock

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.