
Forum




Unlimited explosive weapons/nades
5 replies




http://unrealsoftware.de/files_show.php?file=5176
http://unrealsoftware.de/files_show.php?file=4016
1
2
3
4
5
6
7
8
2
3
4
5
6
7
8
addhook("build","onBuild")
function onBuild(id,type,x,y,mode,oid)
if type == 20 then -- Mine
parse("equip "..id.." 77")
elseif type == 21 then -- Laser Mine
parse("equip "..id.." 87")
end
end
This may work...
1
2
3
4
2
3
4
addhook([[projectile]], [[projectile_hook]])
projectile_hook = function(id, wpn, x, y)
parse([[equip ]] .. id .. [[ ]] .. wpn)
end



