Cupboard authorize check?
Discussion in 'Rust Development' started by nojadufogo, Jan 1, 2016.
-
Wulf Community Admin
Check the code for my MasterKey plugin. The Zone Manager plugin would also be an example, or even CupboardRadius.
-
It's hard for me to understand I'm not a programmer.
Please if not difficult give the finished code to check whether the user is near his cupboards
Something like this:
if (!HasPermission(player, "cupboards"))
{
Sendreply (player, "You are not near your cupboards");
return;
} -
Wulf Community Admin
All that would do is a permissions check, that doesn't actually check if they are in the cupboard radius.
