2 #include "../../../server/t_items.qh"
4 #define WITH(it) this.m_##it;
6 #define REGISTER_AMMO(id, ...) \
7 REGISTER_ITEM(id, Ammo, LAMBDA({ \
8 MAP(WITH, __VA_ARGS__) \
9 this.m_respawntime = SPAWNTIME_AMMO; \
10 this.m_respawntimejitter = SPAWNTIME_AMMO; \
14 , model = "models/items/a_bullets.mdl"
15 , sound = "misc/itempickup.wav"
21 , model = "models/items/a_cells.md3"
22 , sound = "misc/itempickup.wav"
28 , model = "models/items/a_cells.md3"
29 , sound = "misc/itempickup.wav"
35 , model = "models/items/a_rockets.md3"
36 , sound = "misc/itempickup.wav"
42 , model = "models/items/a_shells.md3"
43 , sound = "misc/itempickup.wav"