Admin Playermodel Thread

Hi, facepunch.
I have my own GMod sandbox server.
So, I dont know how to make playermodels for admins (superadmins) only.
(Users cant use this playermodels)
I tried to find how to do that, but found nothing.
Help me, please.
(Sorry, If my english is bad)
P.S: ULX and URS cant restrict playermodels. (Or can?)

Assuming you’re using the pointshop to do this, you would add ITEM.AllowedUserGroups = { “admin” } to the item file.

They can just press “C” and change their playermodel.
Can I delete models from playermodel list?

No but you can do this: (Pseudo code)
for k, v in pairs (player.GetAll()) do
if v:IsAdmin () then return end
if v:GetModel () == "path/to/admin/model.mdl’ then v:SetModel("path/to/kleiner.mdl’) end

That’s not Pseudocode.

I know, i was too lazy to change pseudocode to something more fittong.

Anyhow hook it to playerspawn