General > Developers Corner

Lua Code to adduser

(1/1)

SamBehner:
Hello, I currently have a donation website on mistforums, I want to make it so when they buy it it applys DarkRP money and the ULX rank, but I have to chose between them, or write a lua script that gives them the rank and money, I know how to do the money, but how would i do the adduser? :)

MrPresident:
http://ulyssesmod.net/docs/files/lua/ulib/server/ucl-lua.html#ucl.addUser

This site is very useful for doing back-end stuff with ULib.

Check this out, and if you still need help, let us know. :)

SamBehner:
So how would I make the script auto detect their ID, the website has you sign in thru steam and pulls your steamID

iViscosity:
You would need something on the website to send a message back to the server.

Navigation

[0] Message Index

Go to full version