Order Players on Jailtime With Function/Stock
#7

Quote:
Originally Posted by dominik523
Посмотреть сообщение
I would try to make top player with jail time like this:
Код:
new amount;
new player;
player = -1;
foreach(Player, i)
{
     if(pJailTime[i] > amount)
     player = i;
}
I need the GetPlayerTopJailTime(1) code because i am using a different way of making menu's.
I hope someone has a solution to make this function/stock.

Quote:

Re: Order Players on Jailtime With Function/Stock
Citaat:
Oorspronkelijk geplaatst door DarkLored Bekijk bericht
Explain more
from what i notice you want the function or the stock to contain the jail time for the player
What he means is that he wants to create a command for the highest jail time in the server for example.

Upon writing /highjtime
You will get the following:

#1 Rocky - 4985 seconds of jail time.
#2 Eddy - 3651 seconds of jail time.
#3 Stan - 1254 seconds of jail time.
#4 Harry - 651 seconds of jail time.
#5 Lewis 241 seconds of jail time.

Thanks for your explanation.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)