Quote:
Originally Posted by New.ZM.Life
PHP Code:
public void GiveSuperKnife(int client)
{
int currentknife = GetPlayerWeaponSlot(client, CS_SLOT_KNIFE);
if(IsValidEntity(currentknife))
AcceptEntityInput(currentknife, "Kill");
int weapons = GivePlayerItem(client, "weapon_knifegg");
EquipPlayerWeapon(client, weapons);
SetEntPropEnt(client, Prop_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.