Shouldn't be any errors tried a different method (sets ammo on spawn like code beck posted) let me know if any guns etc are missing or ammo is not right
--[[
Unlimited ammo and weapons for Hunter @ mygamingtalk
Credits: Purple & Lilly (my gf :DDD)
3/24/2015
]]
function et_InitGame(levelTime,randomSeed,restart)
et.RegisterModname( "Unlimited Ammo & Guns" )
maxclients = tonumber( et.trap_Cvar_Get( "sv_maxClients" ) )
end
function et_ClientSpawn(clientNum,revived)
et.gentity_set(clientNum, "ps.ammo", 2, 9999)
et.gentity_set(clientNum, "ps.ammo", 3, 9999)
et.gentity_set(clientNum, "ps.ammo", 4, 9999)
et.gentity_set(clientNum, "ps.ammo", 5, 9999)
et.gentity_set(clientNum, "ps.ammo", 6, 9999)
et.gentity_set(clientNum, "ps.ammo", 7, 9999)
et.gentity_set(clientNum, "ps.ammo", 8, 9999)
et.gentity_set(clientNum, "ps.ammo", 9, 9999)
et.gentity_set(clientNum, "ps.ammo", 10, 9999)
et.gentity_set(clientNum, "ps.ammo", 11, 9999)
et.gentity_set(clientNum, "ps.ammo", 12, 9999)
et.gentity_set(clientNum, "ps.ammo", 13, 9999)
et.gentity_set(clientNum, "ps.ammo", 15, 9999)
et.gentity_set(clientNum, "ps.ammo", 23, 9999)
et.gentity_set(clientNum, "ps.ammo", 24, 9999)
et.gentity_set(clientNum, "ps.ammo", 25, 9999)
et.gentity_set(clientNum, "ps.ammo", 26, 9999)
et.gentity_set(clientNum, "ps.ammo", 29, 9999)
et.gentity_set(clientNum, "ps.ammo", 31, 9999)
et.gentity_set(clientNum, "ps.ammo", 32, 9999)
et.gentity_set(clientNum, "ps.ammo", 33, 9999)
et.gentity_set(clientNum, "ps.ammo", 35, 9999)
et.gentity_set(clientNum, "ps.ammo", 37, 9999)
et.gentity_set(clientNum, "ps.ammo", 38, 9999)
et.gentity_set(clientNum, "ps.ammo", 39, 9999)
et.gentity_set(clientNum, "ps.ammo", 42, 9999)
et.gentity_set(clientNum, "ps.ammo", 43, 9999)
et.gentity_set(clientNum, "ps.ammo", 44, 9999)
et.gentity_set(clientNum, "ps.ammo", 45, 9999)
et.gentity_set(clientNum, "ps.ammo", 47, 9999)
et.gentity_set(clientNum, "ps.ammo", 48, 9999)
et.gentity_set(clientNum, "ps.ammo", 49, 9999)
end