1. Post #1

    May 2012
    3 Posts
    Where are the entity files located for Mad Cow Weapons 3.0, and what are their in-game names?

    I know how to add entities into the addentities.lua, and I'd happily add all the different ammo types from Mad Cow Weapons 3.0, but I can't find the entity files or the names to fill in the blanks.

    Also, how can I set it so that when a player picks up a weapon that they already have, it converts it to ammo?

    Edit: this is on a server, not on a client.

  2. Post #2
    Eazy-E's Avatar
    August 2010
    69 Posts
    Remove lines 660-662 in ShowTeamtabs.lua

    	for k,v in pairs(GAMEMODE:GetAmmoTypes()) do
    						AddIcon("models/Items/BoxMRounds.mdl", string.format(LANGUAGE.buy_a, v.." ammo", CUR .. tostring(GetConVarNumber("ammocost"))), "/buyammo " .. v)
    					end