Garry's Mod

Garry's Mod

URS
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?
< >
Näytetään 1-7 / 7 kommentista
Bump
Bump
Crimson 31.10.2016 klo 11.38 
BUMP
This happens to me too.
use either nutscript or don't let donators spawn with stuff. Just let them buy it.
Mak 2.12.2017 klo 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.
< >
Näytetään 1-7 / 7 kommentista
Sivua kohden: 1530 50