Ppgtjmad / SimpleShops

[HG] Simple Shops
27 stars 8 forks source link

Admin panel #14

Closed SLIgaming closed 7 years ago

SLIgaming commented 7 years ago

admins[] = {"UID1","UID2","UID3"}; Is that the format ? what is the admin panel KeyDown?

Ppgtjmad commented 7 years ago

Yeah, totally forgot to mention the key... left windows key, will add it configurable.

SLIgaming commented 7 years ago

I can confirm this is not working.

Ppgtjmad commented 7 years ago

It does work, tested in editor/player hosted and on dedicated. Definitely works.

What doesn't work for you?

Report back.

SLIgaming commented 7 years ago

admins[] = {"76561198121738616"}; adminKey = 0xC7;

so thats what i have in config and my player UID is correct but still nothing. I'm aware I switched to home key and tried the default window but nothing. what do you mean by PUID is equal to "SP_PLAYER" ?

Ppgtjmad commented 7 years ago

I mean that when you try it in editor/singleplayer getPlayerUID player command returns "_SPPLAYER" so you have to put this in the admins array to be able to open the admin menu.

admins[] = {"_SP_PLAYER_","76561198121738616"};

This way it will work in both single & multi player.

SLIgaming commented 7 years ago

Awesome mate all is working.I suggest mentioning that in the in the read me. Great work !

SLIgaming commented 7 years ago

Hey mate just tested this on my dedi and not working?