I’m having trouble setting a key value to an npc spawned in my gamemode.
if ply:Team() == 1 then
RunConsoleCommand( “npc_create_equipment”, “weapon_SMG1” )
RunConsoleCommand( “npc_create”, “npc_citizen” )
What I want to do is spawn the citizen with another key value (to make him a rebel). In another instance I also want to spawn one as a medic too.
How could I do this?