View Single Post
Author Message
sukodaime
Junior Member
Join Date: May 2021
Old 07-25-2021 , 15:56   way to only strip zeus
Reply With Quote #1

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?

Last edited by sukodaime; 07-25-2021 at 15:59.
sukodaime is offline