Use speedmod and set it to "-100" too freeze them.
And a hook for say.
addhook("serveraction","fallout.mod.serveraction") f[u]uc[/u]tion fallout.mod.serveraction(id,action) if(action == 1) then fallout.mod.openmenu(id,"main") end end
addhook("serveraction","fallout.mod.serveraction") [u]function[/u] fallout.mod.serveraction(id,action) if(action == 1) then fallout.mod.openmenu(id,"main") end end
if(fallout==nil) then fallout = {} end fallout.mod = {} fallout.mod.killstolevelup = 5 fallout.mod.creditsperlevel = 10 function fallout.mod.split(t,d) if not d then d = "[^%s]+" end local cmd = {} for word in string.gmatch(t,d) do table.insert(cmd,word) end return cmd end function initArray(f,v) local cmd = {} for c = 1, f do cmd[c] = v end return cmd end function fallout.mod.hudtext2(id,tid,color,txt,x,y) local toprint = ("©"..color.." "..txt) parse('hudtxt2 '..id..' '..tid..' "'..toprint..'" '..x.." "..y) end function fallout.mod.updatehud(id) fallout.mod.hudtext2(id,1,"255000000","Exp: "..fallout.mod.kills[id].."/"..fallout.mod.killstolevelup,5,200) fallout.mod.hudtext2(id,2,"255128000","Level: "..fallout.mod.level[id],5,215) fallout.mod.hudtext2(id,3,"255255000","Caps: "..fallout.mod.credits[id],5,230) end function fallout.mod.openmenu(id,menuid) if(menuid=="main") then menu(id,"MAIN MENU,Light Weapons,Heavy Weapons,Melee,Grenades,Armor,Aid,Ammo") elseif(menuid=="lightweapons") then menu(id,"Light Weapons,10mm. SubMach.|25,Scoped .44 Magnum|30,Assault Rifle|34,.32 pistol,Laser Rifle|80,Sawed-off Shotgun|30") elseif(menuid=="heavyweapons") then menu(id,"Heavy Weapons,Flamer|75,Missle Launcher|80,Fat Man|90,Grenade Launcher|65,Minigun|83,Sniper Rifile") elseif(menuid=="melee") then menu(id,"Melee,Pool Cue|12,Ripper|25,Combat Knife|12") elseif(menuid=="grenades") then menu(id,"Grenades,Frag Grenade|5,Smoke Grenade|4,Gas Grenade|6") elseif(menuid=="armor") then menu(id,"Armor,BHSPower Armor|75,Enclave Armor|80,Recon armor|70") elseif(menuid=="aid") then menu(id,"Aid,Stimpack|20,Beer|15,Med-X|16,Pscycho|13,Wine|16,Purified Water|17") elseif(menuid=="ammo") then menu(id,"Ammo,Primary Ammo|5,Secondary Ammo|6") end end addhook("serveraction","fallout.mod.serveraction") fuction fallout.mod.serveraction(id,action) if(action == 1) then fallout.mod.openmenu(id,"main") end end