Returns the team (0 to 3) of the given player
| 578 | |
| 579 | // Returns the team (0 to 3) of the given player |
| 580 | static inline int PlayerGetTeam(int pnum) { |
| 581 | if (Players[pnum].team == -1) { |
| 582 | // special "no-team" for Dedicated server |
| 583 | return 0; // fake a red team |
| 584 | } |
| 585 | |
| 586 | return Players[pnum].team; |
| 587 | } |
| 588 | |
| 589 | // Add the player's score |
| 590 | void PlayerScoreAdd(int playernum, int points); |
no outgoing calls
no test coverage detected