how can I make players spawn with a certain weapon?

hi. on my ttt server i just got this script

I want to make Traitors spawn with it.

how can i do this?****

Go into the shared.lua of the Watch Dogs SWEP, then look for the SWEP.Kind line. The line says EQUIP_ in the beginning of what you need to change. Change that to EQUIP_ROLE. Also add in line:

SWEP.InLoadoutFor = ROLE_TRAITOR

If that line exists, just replace it.

So to conclude, put these two lines in your code, or replace the existing lines with these.


SWEP.Kind = EQUIP_ROLE 
SWEP.InLoadoutFor = ROLE_TRAITOR