REQUESTED: https://forum.cfx.re/t/release-show-player-name-on-the-head-only-for-admin/15716/26^
ESX:
esx_idonlyforadmin.rar (1.3 KB)
STANDALONE WITH STEAMID OR LICENSE:
idonlyforadmin-noesx.rar (1.8 KB)
ScreensShot:
With commands /seeid and /noid , to see or not see the id’s:
As requested from you:
You can now see the ids with the command /seeid , and to not see the id’s just use /noid, when you join the server if you are a admin you see the id’s but you can change this in the line 10:
local ShowIDs = true
to
local ShowIDs = false
Added in the two versions:
STANDALONE
idonlyforadmin-noesx.rar (2.1 KB)
ESX
idonlyforadmin-esxjobs-steaname-steamid.rar (2.2 KB)
@Filip_Johansson For you my friend, i made with esx jobs and steamname, its like a special version :g…
(Also a special version with steamname and esx_jobs, requested by @Filip_Johansson )
Special version screenshots
12 Likes
qalle
February 5, 2018, 9:22pm
2
Is this working? i would really love it
2 Likes
UPDATED TODAY! I will fix all my scripts in the next week. And after that i will try to release things that the fivem community is in need, hope you like my work
Screenshots? People like to see what they are downloading.
ID’S over the head
Today i cant post screens, tomorow i will do it dont worry
Any chance you could add steamname as well? Like it is in esx_admin_mode. Idc about the job though
Yes i can!
Do you need for job to? You use exsx, vrp or standalone jobs?
Nice!
Well if you want to do job, do it and I will use it. No need at all though, the important part is the ID and Steam-name. I use esx for jobs if you want to do them as well
Roddan
March 5, 2018, 3:34pm
9
Where do I change so moderators also can see it I can’t seem to find it.? Thanks!
ESX or Standalone? char limit
So this gets the admin, by the client event setgroup called on es_admin, you can change on es_admin or you can also create a server.lua to get the mod group from the database and pass it to client.
Roddan
March 5, 2018, 3:40pm
13
Do you mean group = g
should be group = m
?
No, the info if the player is mod or admn, come from es_admin, when the player is loaded.
Roddan
March 5, 2018, 3:43pm
15
Ok thanks! Will figure it out on how to make it for moderator group aswell.
How do you store the info if is a mod? Is in the DB?
You use es_admin for the mod rank? If yes this probably should work.
The es_admin event sets the group, with the info of the essentialmode event playerLoaded… So the permission comes from the DataBase aswell
Roddan
March 5, 2018, 3:47pm
17
Yes. It’s in database. I didn’t try before asking but I can do that.
Very good job man! Love it !
1 Like
Roddan
March 6, 2018, 7:32pm
19
I have a small suggestion. Make a command like /id to turn ids on/off.
I already have it on my server, maybe i will do it!