#include "csqcprojectile.qh"
+#include <server/defs.qh>
+#include <server/miscfunctions.qh>
#include <common/t_items.qh>
#include "../command/common.qh"
WriteByte(MSG_ENTITY, fr);
}
- WriteByte(MSG_ENTITY, this.realowner.team);
+ if(teamplay)
+ WriteByte(MSG_ENTITY, this.realowner.team);
+ else
+ WriteByte(MSG_ENTITY, this.realowner.clientcolors); // NOTE: doesn't work on non-clients
}
if(sf & 2)