Jump to content
  • 0

help Prize for party leader and members


Noel Gallagher

Question


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  150
  • Reputation:   2
  • Joined:  11/19/11
  • Last Seen:  

	if (@win1==0)
	{
		mapannounce "quiz_02", "Admin Pips :"+GetPartyName($@TeamID2)+" won",0;
		sleep2 10000;
		warpparty "quiz_02",148,377,$@TeamID2;
		sleep2 1000;
		enablenpc "teamwar";
		mapannounce "quiz_02", "Thanks for playing "+GetPartyName($@TeamID1)+" Team!~",0;
		set $@TeamID1,0;
		set $@TeamID2,0;
		set $@start,0;
		set @win1,0;
		set @win2,0;
		set @partymembercount,$@members;
		end;
	}

 

After this 

mapannounce "quiz_02", "Admin Pips :"+GetPartyName($@TeamID2)+" won",0;

 

The all the members of party and leader will get the prize?

 

Btw, I'm using eA :D

Edited by Sunny Day
Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  


getpartymember $@TeamID2,2;

for( set .@i,0; .@i < $@partymembercount; set .@i,.@i + 1 )

getitem 512,100,$@partymemberaid[.@i];

end;

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  150
  • Reputation:   2
  • Joined:  11/19/11
  • Last Seen:  

getpartymember $@TeamID2,2;
for( set .@i,0; .@i < $@partymembercount; set .@i,.@i + 1 )
	getitem 512,100,$@partymemberaid[.@i];
end;

Thank you, Emistry!! 

Edited by Sunny Day
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  66
  • Reputation:   2
  • Joined:  09/01/12
  • Last Seen:  

...

Link to comment
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.   Paste as plain text instead

  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.

×
×
  • Create New...