[DiscordArchive] Im trying to create a new subcommand for npc, but Im having some troubles being able to test it out.
[DiscordArchive] Im trying to create a new subcommand for npc, but Im having some troubles being able to test it out.
Archived author: Marius • Posted: 2022-06-07T17:22:19.725000+00:00
Original source
Im trying to create a new subcommand for npc, but Im having some troubles being able to test it out.
I have added an item in RBAC.h file, and a new item in npcCommandTable in cs.npc.cpp, and also created a new handler function. In the DB, I added a row in rbac_permissions with the same ID as in the RBAC.h file. However, when I test out my command ingame, it still just lists all available npc commands, and my experimental one is not there.
Does anyone have any clue what I may be missing?