|
|
Nicely put.
So your going to ignore me? I said that your getkiller don't work..

well i did that but now i have a little problem:
the killer cant see the stuff but the player who died sees them...
HOW to fix???
the killer have to wait like 2-3mins until he can see the stuff...

well heres my method:
public int getPlayerKiller()
{
int Killer = 0;
int Count = 0;
for(int i = 1; i < Engine.players.length; i++)
{
if(Killer == 0)
{
Killer = i;
Count = 1;
}
else
{
if(killedBy[i] > killedBy[Killer])
{
Killer = i;
Count = 1;
}
else if(killedBy[i] == killedBy[Killer])
Count++;
}
}
if(Count > 1)
Killer = playerId;
return Killer;
}
whats wrong in that??
| « [508 - Pali] Thieving Base | [525] Server Message Each 60 Seconds! [525] » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |
| Tags for this Thread |