Bah im beginnign to hate this thing. Please tell me if this works.
Make a lua file called 'access.lua' in the lua folder. Fill it:
function cc_gd_test( userid, args, argv, argc )
if hasAccess( userid, ACCESS_KICK ) == true then
ulx_console( userid, "Authorized." )
else
ulx_console( userid, "No Access." )
end
end
ULX_CONCOMMAND( "gd_test", cc_gd_test )
Open the weapon script, add to the top:
_ServerCommand("gd_test\n")
Now load the game and type
lua_openscript access.lua
then load your weapon. If you can use it, the console should say authorized, if not, it should say No Access. Please confirm.