Well, I've stripped loads of things on C4.
C4 is currently only stripped from player on spawn:
Spoiler
in
players.sp function players_RemoveClientWeapons:
PHP Code:
for (new i = _:SlotPrimary; i < _:SlotNone; i++)
{
if (Slots:i == SlotC4 && g_bConfig_RemoveObjectives)
continue;
new entityIndex;
while ((entityIndex = GetPlayerWeaponSlot(clientIndex, i)) != -1)
{
RemovePlayerItem(clientIndex, entityIndex);
AcceptEntityInput(entityIndex, "Kill");
}
}
But this seems to be buggy.
Either C4 is not in Slot C4, either it is not given to plaer before OnPlayerSpawn forward call.
I'll investigate on that in next version!