sukodaime |
07-25-2021 15:56 |
way to only strip zeus
i did this
Code:
new client = GetClientOfUserId(GetEventInt(event, "attacker"));
decl String:szAuth[64];
GetClientAuthString( client, szAuth, sizeof( szAuth ) );
int weapon_index = -1;
while ((weapon_index = GetPlayerWeaponSlot(client, 2)) != -1)
{
if (IsValidEntity(weapon_index))
{
RemovePlayerItem(client, weapon_index);
AcceptEntityInput(weapon_index, "Kill");
}
}
GivePlayerItem(client, "weapon_taser");
GivePlayerItem(client, "weapon_knife");
and is there any way to remove zeus only?
|