Budots Posted November 20, 2013 Group: Members Topic Count: 69 Topics Per Day: 0.02 Content Count: 200 Reputation: 1 Joined: 09/25/13 Last Seen: January 6, 2014 Share Posted November 20, 2013 (edited) I think this TEAM FIGHT script has no prize, can someone put some prize to the winning team ? prize will be given per member of the winning team.Prize: 9524 and 675Amount: 300 pcsPer member.THANKS!!!!!!!!!!!! /kis /kis BUMP!!!!!!! Team Fight.txt Edited November 20, 2013 by GM Montoy Quote Link to comment Share on other sites More sharing options...
Patskie Posted November 20, 2013 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 241 Joined: 09/05/12 Last Seen: 1 hour ago Share Posted November 20, 2013 getitem <item_id>,<amount>; Quote Link to comment Share on other sites More sharing options...
Budots Posted November 20, 2013 Group: Members Topic Count: 69 Topics Per Day: 0.02 Content Count: 200 Reputation: 1 Joined: 09/25/13 Last Seen: January 6, 2014 Author Share Posted November 20, 2013 something like this? prontera,147,158,5 script Team Fight 757,{ mes "Do you want to register for 5 vs 5 Team Fight?"; if( getarraysize( .TeamCount ) ){ for( set .@i,0; .@i < getarraysize( .TeamCount ); set .@i,.@i + 1 ) mes "[ ^FF0000"+getarraysize( .TeamCount )+"th Team^000000 ] : ^0000FF"+getpartyname( .TeamCount[.@i] )+"^000000"; } next; if( select("Register as "+( getarraysize( .TeamCount ) + 1 )+"th Team:Cancel") == 2 ) close; if( !getcharid(1) || getpartyleader( getcharid(1),2 ) != getcharid(1) ){ mes "You must be a ^0000FFLeader^000000 of a party to register."; close; } deletearray $@partymembercount,getarraysize( $@partymembercount ); deletearray $@partymembercid,getarraysize( $@partymembercid ); getpartymember getcharid(1),1; if( $@partymembercount != .RequiredMember ){ mes "Your party required total of ^FF0000"+.RequiredMember+"^000000 Members to register."; close; } if( getarraysize( .TeamCount ) >= .TeamLimit ){ mes "Sorry to inform you that there is no more Slot for you to register."; mes "Maximum of ^FF0000"+.TeamLimit+" Team^000000 each match."; close; } for( set .@i,0; getarraysize( .TeamCount ); set .@i,.@i + 1 ) if( getcharid(1) == .TeamCount[.@i] ){ mes "Sorry, you cant register twice in a match."; close; } set .TeamCount[ getarraysize( .TeamCount ) ],getcharid(1); announce "New Team Registered, "+getarraysize( .TeamCount )+"th Team is "+getpartyname( getcharid(1) )+" .",bc_map; mes "Your Team has been Registered."; mes "However, the Registration will be eliminate if there no enough team sign up in the next minutes."; initnpctimer; close; OnTimer60000: if( getarraysize( .TeamCount ) < .TeamLimit ){ announce "[ Team PK ] : Cancelled due to not enough teams Registered in a given time.",0; deletearray .TeamCount,getarraysize( .TeamCount ); }else{ announce "[ Team PK ] : Match is going to start now. Prepare yourselves..",0; for( set .@i,0; getarraysize( .TeamCount ); set .@i,.@i + 1 ) warpparty .Map$,0,0,.TeamCount[.@i]; } stopnpctimer; end; OnPCDieEvent: if( strcharinfo(3) == .Map$ ){ announce "[ "+strcharinfo(0)+" ] killed by "+rid2name( killerrid )+" .",bc_map; warp "SavePoint",0,0; } end; OnInit: // How many Available team for PK set .TeamLimit,2; // How many Party Members required each teams set .RequiredMember,5; // What Map will be used set .Map$,"guild_vs2"; // Set Prize getitem 9524,300; getitem 675,300; end; } Quote Link to comment Share on other sites More sharing options...
Question
Budots
I think this TEAM FIGHT script has no prize, can someone put some prize to the winning team ? prize will be given per member of the winning team.
/kis
/kis
Prize: 9524 and 675
Amount: 300 pcs
Per member.
THANKS!!!!!!!!!!!!
BUMP!!!!!!!
Team Fight.txt
Edited by GM MontoyLink to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.