AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   way to only strip zeus (https://forums.alliedmods.net/showthread.php?t=333626)

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?


All times are GMT -4. The time now is 08:34.

Powered by vBulletin®
Copyright ©2000 - 2021, vBulletin Solutions, Inc.