View Single Post
boomix
Senior Member
Join Date: May 2015
Location: Latvia
Old 01-11-2016 , 13:06   Re: [CS:GO] Basebuilder v2.0
Reply With Quote #9

Quote:
Originally Posted by New.ZM.Life View Post
PHP Code:
public void GiveSuperKnife(int client)
{
    
int currentknife GetPlayerWeaponSlot(clientCS_SLOT_KNIFE);
                            
    if(
IsValidEntity(currentknife))
        
AcceptEntityInput(currentknife"Kill");
        
    
int weapons GivePlayerItem(client"weapon_knifegg");
    
EquipPlayerWeapon(clientweapons);
    
SetEntPropEnt(clientProp_Send"m_hActiveWeapon"weapons);
    
g_bHasSuperKnife[client] = true;    

i think giving weapon_knifegg to clients is against Valve rules:

https://www.mail-archive.com/csgo_se.../msg11235.html


btw , tested and works fine , good job
I don't think so that it is against valve rules, because this knife is also used in armsrace. This is not even knife that you can get into your inventory, it is more like a custom model.
Anywhay, some few months ago I also made a topic in csgo mailing list - http://csgo-servers.1073505.n5.nabbl...e-td10017.html . No one has yet replied with that this would be against valve rules.
boomix is offline