I want to make it so that if your admin you get an option in the menu were you can spawn attacking npc's. First i took and made a cfg with this in it:
Code:
sk_headcrab_health 50
sk_headcrab_melee_dmg 25
npc_create npc_headcrab
ent_fire npc_headcrab setrelationship "player d_ht 99"
saved it as C:\SRCDS\hl2mp\cfg\configs\headcrab.cfg
then i went into C:\SRCDS\hl2mp\addons\sourcemod\configs then edited the
adminmenu_cfgs.txt to start the headcrab.cfg
"cfg\configs\headcrab.cfg" "Spawn Headcrab"
but you need to have sv_cheats on to make them spawn. Is there something i can add to the .cfg to make it so they spawn when cheats are off, but also limit it to admins only?