View Single Post
Mitchell
~lick~
Join Date: Mar 2010
Old 10-20-2013 , 12:16   Re: How to remove a knife on ground?
Reply With Quote #3

Quote:
Originally Posted by cREANy0 View Post
Hey,

can someone tell me how to remove knifes on ground?

greetz cREANy0
If you're talking about the plugin you made for cs:go where you spawn the knife then check if the player has access then try making the knife only if the player has access.
This:
Code:
        new iKnifeEntity = GivePlayerItem(client, "weapon_knife_karambit");
 
        if(DoIHaveAccess)
        {
               
        EquipPlayerWeapon(client, iKnifeEntity);  
 
        }
        else
        {              
               
               
        }
}
To This:
Code:
       
 
        if(DoIHaveAccess)
        {
        new iKnifeEntity = GivePlayerItem(client, "weapon_knife_karambit");   
        EquipPlayerWeapon(client, iKnifeEntity);  
 
        }
        else
        {              
               
               
        }
}
Mitchell is offline