diff options
author | aap <aap@papnet.eu> | 2019-07-12 18:01:22 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2019-07-12 18:01:22 +0200 |
commit | 60711154baf5477d6f4c12add1ecdd0a24c0c116 (patch) | |
tree | 460199051422d03a6a70a1e57f9c8d2d588c85b6 /src/modelinfo | |
parent | 0548476ba6b9e2273ceec94ca9f62e76c69d7ef4 (diff) |
more CWanted; added CEventList
Diffstat (limited to 'src/modelinfo')
-rw-r--r-- | src/modelinfo/ModelIndices.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/modelinfo/ModelIndices.h b/src/modelinfo/ModelIndices.h index 0d9ffb53..135f3424 100644 --- a/src/modelinfo/ModelIndices.h +++ b/src/modelinfo/ModelIndices.h @@ -465,3 +465,21 @@ IsPickupModel(int16 id) id == MI_PICKUP_KILLFRENZY || id == MI_PICKUP_CAMERA; } + +inline bool +IsPolicePedModel(int16 id) +{ + return id == MI_COP || + id == MI_SWAT || + id == MI_FBI || + id == MI_ARMY; +} + +inline bool +IsPoliceVehicleModel(int16 id) +{ + return id == MI_CHOPPER || + id == MI_PREDATOR || + id == MI_POLICE || + id == MI_ENFORCER; +} |