Need help with allowing script hook

I did a server by using the “Ultimate easy setup guide”. And i know that you can change if you want script hook to be allowed or not in server.cfg. But now i can’t find it. Anyone know where it stored?

Just add the line sv_scriptHookAllowed 1 to your server.cfg file generated by txAdmin, there are also links for more commands you can use

# This file is a minimal version of the default config file.
# This is NOT supposed to be enough for a fully running server.
# Please read the fivem documentation:
#   https://docs.fivem.net/docs/server-manual/server-commands/
#   https://docs.fivem.net/docs/server-manual/setting-up-a-server/
2 Likes

Thanks!

One more question. Where should I put it in server.cfg? Sorry for being a dhumb but it was a long time ago when i had a server

1 Like

it doesnt really matter

1 Like

hey do you know how to get manual transmission working with script hook?

is there a way to only allow admins to use the scripthooks?

Hi @cruz_v unfortunately this is not possible, with this command you can allow scripthook-based plugins from players or not.

Do note that this does not guarantee players won’t be able to use external plugins.

1 Like

you are the fckin man my boy