Info








Installation






dofile("sys/lua/basebuild.lua")
Bugs

Rechte



edited 1×, last 22.08.11 05:31:51 pm
Approved by Yates
Download
2 kb, 737 Downloads
-- Untested
addhook("attack","usewrench")
function usewrench(id)
if player(id,"weapontype")==74 then -- Wrench
menu(id,"Build Menu,Wall 100$,Barricade 50$,Turret 150$,Barbed Wire 50$,")
end
end
addhook("menu","buildmenu")
function buildmenu(id,t,b)
if t=="Build Menu" then
if b==1 then
-- Und so weiter
end
end
end