if (!IS_PLAYER(this) || (autocvar_g_campaign && !campaign_bots_may_start))
{
- if (IS_PLAYER(this))
- {
- .entity weaponentity = weaponentities[0];
- if(this.(weaponentity).m_weapon == WEP_Null)
- W_NextWeapon(this, 0, weaponentity);
- }
CS(this).movement = '0 0 0';
this.bot_nextthink = time + 0.5;
return;
if (time < game_starttime)
{
- .entity weaponentity = weaponentities[0];
- if(this.(weaponentity).m_weapon == WEP_Null)
- W_NextWeapon(this, 0, weaponentity);
// block the bot during the countdown to game start
CS(this).movement = '0 0 0';
return;
CS(this).autojoin_checked = true;
TRANSMUTE(Player, this);
PutClientInServer(this);
+
+ .entity weaponentity = weaponentities[0];
+ if(this.(weaponentity).m_weapon == WEP_Null)
+ W_NextWeapon(this, 0, weaponentity);
+
return;
}
#include <server/scores.qh>
#include <server/teamplay.qh>
#include <server/weapons/accuracy.qh>
+#include <server/weapons/selection.qh>
#include <server/world.qh>
// =============================================
it.avelocity = '0 0 0';
CS(it).movement = '0 0 0';
PutClientInServer(it);
+
+ if(IS_BOT_CLIENT(it))
+ {
+ .entity weaponentity = weaponentities[0];
+ if(it.(weaponentity).m_weapon == WEP_Null)
+ W_NextWeapon(it, 0, weaponentity);
+ }
});
}
}
return true;
}
if (complain)
+ if(IS_REAL_CLIENT(this))
{
// DRESK - 3/16/07
// Report Proper Weapon Status / Modified Weapon Ownership Message