precache_model (itemmodel);
precache_sound (pickupsound);
- precache_sound ("misc/itemrespawn.wav");
- precache_sound ("misc/itemrespawncountdown.wav");
- if(itemid == IT_STRENGTH)
+ precache_sound ("misc/itemrespawncountdown.wav");
+ if(!g_minstagib && itemid == IT_STRENGTH)
precache_sound ("misc/strength_respawn.wav");
- if(itemid == IT_INVINCIBLE)
+ else if(!g_minstagib && itemid == IT_INVINCIBLE)
precache_sound ("misc/shield_respawn.wav");
+ else
+ precache_sound ("misc/itemrespawn.wav");
if((itemid & (IT_STRENGTH | IT_INVINCIBLE | IT_HEALTH | IT_ARMOR | IT_KEY1 | IT_KEY2)) || (weaponid & WEPBIT_ALL))
self.target = "###item###"; // for finding the nearest item using find()