EUP only for Admins?

Hey, is it possible to make eup for admins only? I saw this on other servers and i don’t want that the users on my server can use it.

So add restrictions to the command where you check for roles/jobs.

Put the RegisterCommand Server side, put an event trigger inside of it.
Put the eup open menu inside the event to only work with X permissions.

1 Like

Its Possible to Do It Script Side Not in Streaming Side.
Depends on your Admin System Its Possible to Do it . Just Check Player Permission (for example basic admin system is like this : Check steam identifier if it exist in Admins steam list) If Player has permission Change His cloth.


function ChangeCloth(userid)
if isPlayerAdmin(userid) then
-- Change His CLOTH
else
print('YOU DONT HAVE ACCESS TO THIS CLOTH')
end
end

Change IsPlayerAdmin to your Admin Permission SYstem. modify ‘change his cloth’ section to the code you want ( you can easily copy it from EUP menus ) then Call This function where ever you want it (RegisterCommands/Menus/KeyPress)

2 Likes

Thank you! For me as a none programmer is this really hard to understand :frowning:
But i’ll try my best

Reza, Is GoD.

1 Like