Skip to content

Server wide NPC toggle for FiveM servers. Permission based.

Notifications You must be signed in to change notification settings

ErikMartensson/No-NPC

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Permission

If you only want a specific group to be able to toggle NPCs on/off, add this to your server.cfg:

add_ace group.admin "NoNPC.Toggle" allow

Replace "group.admin" with whatever you want.

If you want anyone to be able to toggle NPCs, add this instead:

add_ace builtin.everyone "NoNPC.Toggle" allow

How to use

Press the key to the right of the "0" on your number row (not numpad). On US keyboards it's "-", on Scandinavian keyboards it's "+".

It's mapped to the INPUT_VEH_PREV_RADIO_TRACK function. Layout

About

Server wide NPC toggle for FiveM servers. Permission based.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%