Raised This Month: $ Target: $400
 0% 

Find lowest number..


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
XunTric
BANNED
Join Date: Jan 2005
Location: Norway/Norge
Old 04-20-2005 , 14:35  
Reply With Quote #4

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])
XunTric is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:51.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode