Added custom monsters and custom items support
This commit is contained in:
parent
ac86926dc8
commit
d5107daad4
7 changed files with 82 additions and 6 deletions
|
|
@ -55,6 +55,12 @@ public:
|
|||
// check if entitiy is a player
|
||||
bool isPlayer (edict_t *ent);
|
||||
|
||||
// check if entitiy is a monster
|
||||
bool isMonster (edict_t *ent);
|
||||
|
||||
// check if entitiy is a item
|
||||
bool isItem (edict_t *ent);
|
||||
|
||||
// check if entity is a vip
|
||||
bool isPlayerVIP (edict_t *ent);
|
||||
|
||||
|
|
|
|||
|
|
@ -1164,6 +1164,8 @@ extern ConVar cv_whose_your_daddy;
|
|||
extern ConVar cv_chatter_path;
|
||||
extern ConVar cv_quota;
|
||||
extern ConVar cv_difficulty;
|
||||
extern ConVar cv_attack_monsters;
|
||||
extern ConVar cv_pickup_custom_items;
|
||||
|
||||
// execute client command helper
|
||||
template <typename ...Args> void Bot::issueCommand (const char *fmt, Args &&...args) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue