General > Developers Corner
ULib.ucl.userAllow trouble.
Stickly Man!:
The userAllow method is only available on the server- are you sure that your code is not being run client-side?
BlueNova:
The command is from a client. I suppose that's the issue now that you mention it Stickly.
Edit:
I wouldn't imagine it would work with RunConsoleCommand would it? Just a theory that came into my head.
Bytewave:
--- Quote from: BlueNova on February 28, 2017, 12:22:52 PM ---The command is from a client. I suppose that's the issue now that you mention it Stickly.
Edit:
I wouldn't imagine it would work with RunConsoleCommand would it? Just a theory that came into my head.
--- End quote ---
RunConsoleCommand would only run console commands, as the name would suggest, on the side it is executed on. You could use (AUTHENTICATED) net messages to run a console command on the server, you could just use userAllow with that instead.
BlueNova:
--- Quote from: Bytewave on February 28, 2017, 12:50:10 PM ---RunConsoleCommand would only run console commands, as the name would suggest, on the side it is executed on. You could use (AUTHENTICATED) net messages to run a console command on the server, you could just use userAllow with that instead.
--- End quote ---
I don't follow :P
Could ya explain for me please?
Edit:
So I did some tweaking and now I'm not getting any errors. Nothing returns at all.
iViscosity:
If you tweaked some things and nothing returns and no errors, can you post what code you made?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version