1.1 --- a/scripting/dm_equipment.sp Sat Jun 25 01:00:27 2011 -0700
1.2 +++ b/scripting/dm_equipment.sp Sun Jun 26 01:12:42 2011 -0700
1.3 @@ -539,6 +539,11 @@
1.4
1.5 GiveWeapon(client, index)
1.6 {
1.7 + if (!IsPlayerAlive(client))
1.8 + {
1.9 + return;
1.10 + }
1.11 +
1.12 new DmWeaponType:type = DM_GetWeaponType(index);
1.13
1.14 new entity = DM_GetClientWeapon(client, type);
1.15 @@ -881,6 +886,11 @@
1.16
1.17 GiveGrenades(client, flashnum, bool:he, bool:smoke)
1.18 {
1.19 + if (!IsPlayerAlive(client))
1.20 + {
1.21 + return;
1.22 + }
1.23 +
1.24 if (he)
1.25 {
1.26 GivePlayerItem(client, "weapon_hegrenade");