Garry's Mod

Garry's Mod

URS
Mak 2016 年 9 月 25 日 下午 1:09
Loadout overriding DarkRP weapons
I am currently attemping to use this on my HaloRP server, which uses DarkRP as a base. However, if giving admins a physgun and toolgun on spawn, it overrides their weapons their job would spawn with. Is there anyway around this?
< >
正在显示第 1 - 7 条,共 7 条留言
Thomas 2016 年 10 月 7 日 上午 10:12 
Bump
Thomas 2016 年 10 月 15 日 上午 3:10 
Bump
Crimson 2016 年 10 月 31 日 上午 11:38 
BUMP
thunfischbaum 2017 年 1 月 5 日 下午 12:27 
Bump
Zombie 2017 年 4 月 18 日 下午 8:34 
This happens to me too.
Yogi Bear 2017 年 12 月 2 日 上午 10:33 
use either nutscript or don't let donators spawn with stuff. Just let them buy it.
Mak 2017 年 12 月 2 日 上午 10:57 
♥♥♥♥♥ dead as ♥♥♥♥, if you're still having the issue, just creat a lua script to autorun and give certain ULX ranks their equipment.

Create a .lua file and put it in your garrysmod/lua/autorun folder and put this code in it

hook.Add("PlayerSpawn","givevipweapons",function(ply)
if ply:IsUserGroup("ULXRANK") or ply:IsUserGroup("ULXRANK") or ply:IsUserGroup("ULXRANK") then
ply:Give("WEAPONHERE")
end
end)



To find the ULX rank, it is just whatever the ranks name that you created is. To find the weapon name, hold Q and go to weapons, then right click on the weapon you want and click copy to clipboard, or just copy, whichever it is. You then just paste it into the WEAPONHERE slot. To add more weapons, just add more ply:Give functions.
< >
正在显示第 1 - 7 条,共 7 条留言
每页显示数: 1530 50