How do I add mysleft to admin and Emergency Service on vRP server

Hey, I have got vRP working but how do I add myself to admin and Emergency Services?

moved to: #development:scripts | Please post in the correct category next time. Also, it would be best to ask in vRP’s thread…

By default vRP is configured to give super admin to the first user who connects to the server once the script has populated your MySql database.

If you weren’t the first one to join the server, that means someone else got super admin. If that’s the case, you could always remove all the user entries in your database and reconnect.

There are additional creative ways to do it (I believe there is code somewhere to add a user based on a steam identifier), but you could always add SuperAdmin to your legal jobs list temporarily so you can go get the SuperAdmin abilities then disable it.

As far as adding yourself to emergency services once you do manage to get admin, when you open your vRP menu the first option should be ‘Admin’ and I believe the first option on the submenu is “@Add_Group”.

Click “@Add_Group” and it will prompt you for your user_id (this is your vRP user_id not your FiveM network ID, meaning it will always be the same (check your database)), next it will prompt you for the group name:

By Default:
‘police’
‘emergency’ <----- EMS

i have a problem
anyone join to my server have superadmin do you know why or how can i solv it

For me it doesnt do anything, i whitedlisted my server i go to fivem>server>K(vrp menu)-Admin-Add Group>My Id>cop/police/ems/emergency nothing works, it just says player has been added to group whichever i write. I’m pretty new to this so if it’s out of order i’m sorry.