SA-MP Forums Archive
Getting the highest value - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Getting the highest value (/showthread.php?tid=105784)



Getting the highest value - Striker_Moe - 31.10.2009

Hi there.

Iґm about to script a "Soldier of the day" system. For this, Iґve placed this at OnPlayerDeath:

kills[killerid] + 1;
deaths[playerid] + 1;

Now, Iґd like to activate a timer, and at its call, Iґd like the best and worst player showed. (Best player = highest kills, worst player = highest deaths). How can I do that?


Re: Getting the highest value - Striker_Moe - 31.10.2009

Quote:

find those values

Thats the problem, I dont know how