• Admins Spawn with Guns
    3 replies, posted
I need a simple script that makes admins and up spawn with a gun every time or even if they switch jobs in darkrp. If you can help please post below.
[lua] function GiveGun(pl) if not pl:IsAdmin() then return end pl:Give("weapon_smg1") end hook.Add("PlayerSpawn", "WeDontCare", GiveGun) [/lua]
[QUOTE=jkropp;34968353]I need a simple script that makes admins and up spawn with a gun every time or even if they switch jobs in darkrp. If you can help please post below.[/QUOTE] oh god, spawning with a gun in darkrp. Just adding that if you need the weapon ID. i.e weapon_smg1. Just go into singleplayer and give the weapon to yourself and the ID will be in console.
That's not a weapon id, that's just the classname
Sorry, you need to Log In to post a reply to this thread.