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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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