well i wanted to make horse race like that if the player isnt riding his horse the acc disconnect..how to write that ?? ,,i made smthing like Team Extreme Pk Tournament..i made every thing cool but couldnt add a case which is...when there is more than team leader no1 get award beside and when teamleader claim the award the teammates claim it too or vice versa ...how to write that in C# ?
Adding smthing like that..if there r two or more teamleader no1 get awarded till it become only teamleader in map ..and when teamleader claim the reward everyteammate claim it too ..how it would be
Im pretty sure that it just make sure that there is only on winning team
and if c stays 0 for some reason then it couse crash or somthing coz "winner" will be empty/null. So there is no winner.teammates to look at.
EDIT: anyway its just Idea not code. He should work around it if he choose this Idea
Well your adding a value to the variable c for every member there is in the team.
The check you made is only checking if there is one member. If there is more or less, then it will just return. And I made a mistake as well, it should have been > 0. But true, the code should just be used as a reference.
Well your adding a value to the variable c for every member there is in the team.
The check you made is only checking if there is one member. If there is more or less, then it will just return. And I made a mistake as well, it should have been > 0. But true, the code should just be used as a reference.
well ..
Code:
if ( player.teamleader && player.alive)
c++;
player.teamleader is bool (and in team there can be only one leader) and player.alive is bool!
so this code counts alive team leaders.
next:: "winner" is teamleader. and its used as referance to reward team members.
Code:
foreach(tempplayer in winners.teammates)
{
// reward code
}
I hope this makes it clear. (sry for "spamming" but I just don't like to leave things unexplained)
Simple question! 11/25/2008 - Dekaron - 3 Replies Hi, can any1 say how my game guard dont make update alone after i put gg killer archives there?
thx a lot ;)
Simple Question 09/03/2008 - Silkroad Online - 5 Replies I have a simple question.
When i want to bot 24/7, my inventory gets quick full. When its full and goes to town. It wont buy pots because it has not enough space. Is there an option to turn this off and just let it go on?
Simple Question 07/11/2005 - World of Warcraft - 8 Replies Just wanted to know how I can change my language settings. I already downloaded the English Language Package from WoW-Europe. However I didn't figure out how to apply the package. Can anyone help me?
Ich würde gerne wissen wie ich die Sprache von meinem WoW ändern kann. Hab das Sprachpaket von WoW_Europe gedownloadet. Würde gerne wissen wie ich es jetzt anwenden kann. Ok das wärs auch schon.
MfG Shithead