Adminhide script erroring

After restarting the esx_adminhide, I’m getting this error;

I’m having a complete blackout with this and dont really know what to do.

TriggerClientEvent(“HideAdmin”, function)

TriggerClientEvent(“ShowAdmin”, function)

they are your errors i think

1 Like

I think so too, but I still don’t know why are they causing errors

You are using TriggerClientEvent on the Clientside. If you are on the same side you need to use TriggerEvent.
But it looks like you are Trying to Trigger a Function with TrggerClientEvent that wont work.
If you want to Trigger a function use functionName()