I dont know why but the server still crashes :
//------------------------------------------------------------------------------
public Action Command_KnifeEquip(int client, int args){
int knife = GetPlayerWeaponSlot(client, CS_SLOT_KNIFE);
EquipPlayerWeapon(client, knife);
return Plugin_Handled;
}
//------------------------------------------------------------------------------
When i swapped CS_SLOT_KNIFE with for example CS_SLOT_SECONDARY it worked as well as with any other slot but when i try it with the knife either the server crashes or nothing happens