|
Release Get highest scoring player
|
|
Post: #1
|
|||
|
|||
|
Get highest scoring player
Code: getHighestScoringPlayer()
![]() |
|||
The following 3 users say Thank You to Pozzuh for this post: |
|
Post: #2
|
|||
|
|||
|
RE: Get highest scoring player
Code: #include common_scripts\utility;Your way if there is a tie it takes a "Random player" which that player could have 0 points while the tie was at 30,000 points. My way selects one of the two who tied randomly |
|||
The following 1 user says Thank You to some_kid for this post:surtek (08-30-2011) |
|
Post: #3
|
|||
|
|||
|
RE: Get highest scoring player
Code: highPlayer = maps\mp\gametypes\_globallogic_score::getHighestScoringPlayer();thanks to deadcrayon for sharing this. ![]() |
|||
The following 1 user says Thank You to Lemon for this post:iAegle (08-30-2011) |
|
Post: #4
|
|||
|
|||
RE: Get highest scoring player
(08-30-2011 19:04)Lemon Wrote: Yes both Pozzuh and I know that one, what we posted is a slightly modified version of that. In case of a tie, it returns "undefined" which will cause a crash for you I bet, and our modified versions return a player in the event of a tie, avoiding the crash.
|
|||
|
Post: #5
|
|||
|
|||
|
RE: Get highest scoring player
Why did you add a check to skip people on the "axis" team.
![]() A casual conversation between barata and I about Nukem. |
|||
|
Post: #6
|
|||
|
|||
RE: Get highest scoring player
(08-31-2011 02:32)master131 Wrote: Why did you add a check to skip people on the "axis" team. Oh fuck, that was for my mod a while ago Removed
![]() |
|||
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads... | |||||
| Thread: | Author | Replies: | Views: | Last Post | |
| [Release] player checkpoints | iAegle | 10 | 955 |
04-14-2012 11:55 Last Post: CVD |
|
| Player visible on screen. | master131 | 4 | 805 |
11-03-2011 18:35 Last Post: Yamato |
|
User(s) browsing this thread: 1 Guest(s)
Media Embeding by Simple Audio Video Embeder




![[Image: MaEIQ.png]](http://i.imgur.com/MaEIQ.png)



![[-]](images/twilight/collapse.gif)

![[Image: guza-2.gif]](http://idesh.net/wp-content/uploads/2013/02/guza-2.gif)

![[Image: 30xhrep.png]](http://i48.tinypic.com/30xhrep.png)
Removed