Thanks
-VX
--Arrays holding weapon ids pistols={1,2,3,4,5,6} mainweapons={10,11,20,21,22,23,24,30,31,32,33,34,35,36,37,38,39,40,41,45,46,47,48,49,88} grens={51,52,53,54,72,73,75,76,77,86,87} armor={57,58,79,80,81,82,83,84} handweapons={69,74,78,85} addhook("spawn","PSpawn") function PSpawn(id) return pistols[math.random(#pistols)]..","..mainweapons[math.random(#mainweapons)]..","..grens[math.random(#grens)]..","..armor[math.random(#armor)]..","..handweapons[math.random(#handweapons)] end
--Arrays holding weapon ids pistols={1,2,3,4,5,6} mainweapons={10,11,20,21,22,23,24,30,31,32,33,34,35,36,37,38,39,40,41,45,46,47,48,49,88} grens={51,52,53,54,72,73,75,76,77,86,87} armor={57,58,79,80,81,82,83,84} handweapons={69,74,78,85} addhook("startround","WeaponsRand") function WeaponsRand() pist=math.random(#pistols) mw=math.random(#mainweapons) grn=math.random(#grens) armr=math.random(#armor) hw=math.random(#handweapons) end addhook("spawn","PSpawn") function PSpawn(id) return pistols[pist]..","..mainweapons[mw]..","..grens[grn]..","..armor[armr]..","..handweapons[hw] end
--Arrays holding weapon ids pistols={1,2,3,4,5,6} mainweapons={10,11,20,21,22,23,24,30,31,32,33,34,35,36,37,38,39,40,41,45,46,47,48,49,88} grens={51,52,53,54,72,73,75,76,77,86,87} armor={57,58,79,80,81,82,83,84} handweapons={69,74,78,85} addhook("spawn","PSpawn") function PSpawn(id) return pistols[math.random(#pistols)]..","..mainweapons[math.random(#mainweapons)]..","..grens[math.random(#grens)]..","..armor[math.random(#armor)]..","..handweapons[math.random(#handweapons)] end