Deadly Brothers 0 Posted February 8, 2017 pano po mang lagay nang prize sa team winner sa event po? Quote Share this post Link to post Share on other sites
0 rans 7 Posted February 9, 2017 pano po mang lagay nang prize sa team winner sa event po? Mkakatulong po if ilalagay mo yun script dito ng event mo. Quote Share this post Link to post Share on other sites
0 Deadly Brothers 0 Posted February 9, 2017 (edited) 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 February 9, 2017 by Kid Rock Quote Share this post Link to post Share on other sites
0 rans 7 Posted February 10, 2017 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>; Quote Share this post Link to post Share on other sites
0 Deadly Brothers 0 Posted February 10, 2017 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 Quote Share this post Link to post Share on other sites
0 rans 7 Posted February 11, 2017 @Kid Rock pwede mo po ba ma tignan map-server if may error tuwing may nanalo? Quote Share this post Link to post Share on other sites
0 Deadly Brothers 0 Posted February 11, 2017 (edited) @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 February 11, 2017 by Kid Rock Quote Share this post Link to post Share on other sites
pano po mang lagay nang prize sa team winner sa event po?
Share this post
Link to post
Share on other sites