Lore T,
It already uses access flags. The code as it stands now has 3 groups, which are reasonably shown in the code, and more could be added.
Admin, SubAdmin, and Public
Admins, can spawn on ground, give to players, can give to self, all weapons, and require "ACCESS_BAN" to do this.
SubAdmins, can't spawn on ground, can give to players, can give to self, weapons in Counter-Strike and gm_laserdance, and require "ACCESS_KICK" to do this.
Public, can't spawn on ground, can't give to players, can give to self, only SWEPS found in "Construction" (You would have to create this folder under weapons, and put the SWEPS you want included for public there I think)
If you need help with any of that, let us know.
SPBogie,
I haven't yet loaded this script but I have a question. Before loading ULib, you set the variable
USwep.ucl = ULib.mainUcl
Would that be nil at first, since ULib isn't loaded, or, would it become a string on its own, until checked later in the script when it becomes the variable access list from Ulib.
My concern is that since ULib.mainUcl might be nil, it would break something somewhere.