Quote:
|
Originally Posted by Twilight Suzuka
Code:
main ( val1, val2 )
|
I didnt get that...
Is val1 and val2 just examples or...?
so can i have like:
main(20,50,60)
So will it return 20, since its the lowest number?
But I want to check a variable that holds a number, and I want to check all players in the server.
In my plugin, all people got a variable called PlayerPoints, that holds a number.
How do I make it check all players, and return who that got lowest number on my PlayerPoints variable?
Will it be like this?
(I want to kick the guy with lowest playerpoints..)
Code:
new LowestPoints[33] = main(PlayerPoints[id])
server_cmd("kick %s", LowestPoints[id])