Raised This Month: $ Target: $400
 0% 

Longest Jump


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
mottzi
Veteran Member
Join Date: May 2010
Location: Switzerland
Old 07-14-2013 , 15:44   Re: Longest Jump
Reply With Quote #6

You have to save every record (means the record of EVERY player in an array). then you can get the "longes" jump with something like this:

PHP Code:
new max get_maxplayers()
new 
Float:longest g_record[1]

for(new 
i=2i<=max;i++){
    if(
g_record[i] > longestlongest g_record[i]

now in "longest" the longest jump is stored
mottzi is offline
Send a message via MSN to mottzi
 



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 06:26.


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