Xonotic
sv_duel.qc
Go to the documentation of this file.
1 #include "sv_duel.qh"
2 
4 {
5  M_ARGV(0, int) = 2; // duel is always 1v1!
6 }
7 
8 MUTATOR_HOOKFUNCTION(duel, Scores_CountFragsRemaining)
9 {
10  // announce remaining frags?
11  return true;
12 }
13 
14 MUTATOR_HOOKFUNCTION(duel, FilterItemDefinition)
15 {
16  entity definition = M_ARGV(0, entity);
17 
18  if(definition.instanceOfPowerup)
19  {
21  }
22 }
entity() spawn
int GetPlayerLimit()
Definition: client.qc:1990
bool autocvar_g_duel_with_powerups
Definition: sv_duel.qh:10
MUTATOR_HOOKFUNCTION(duel, GetPlayerLimit)
Definition: sv_duel.qc:3
#define M_ARGV(x, type)
Definition: events.qh:17