I have 2 questions. I can only restart a script in the console. What authorization do I need to do this with my in-game client?
My second question would be how can I add a custom permission so that I now have a script since there is a permission called tp.perm. How can I give the admin group this right?
As answer on the first question
You should be in your server.cfg and have ur FiveM Steam Hex on clipboard from SteamHex from Steam Profile URL Add some below the ensure’s of the vanilla resources
# Add system admins
add_ace group.user command.quit deny
add_ace group.admin command allow # allow all commands
add_ace group.admin command.quit deny # but don't allow quit
YOU COULD ADD QUESTION 2 ANSWER HERE
#add_ace group.admin tp.perm allow # allowing the group to trigger
#add_principal identifier.fivem:1 group.admin # Adds the desired player to the group admin
add_principal identifier.PASTEURCLIPBOARDHERE group.admin
# should look like add_principal identifier.steam.dijw8uwru8r9hf9 # TheUnkown - Admin
As for teleporting one depands on the script handeling the teleporting, if it is checking any group from the player that is triggering it.
add_ace group.admin tp.perm allow # allowing the group to trigger
Goodluck, get messy !
Greets,
NoOneKnows
one more question how could I add another group like group.owner??
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.