28.01.2011, 21:11
This is what you need, I thnk.
https://sampforum.blast.hk/showthread.php?tid=31
Код:
How to set up a easy account?
Use udb_Create("Nickname","mypassword") to create a user with password=mypassword.
If you want to check the logins for this player, use udb_CheckLogin("Nickname","mypassword") - it should work!
If you want to set the clantag, use the new dUserSet("Nickname").("clantag","NEW").
If you want to set ASJKDHKSJDH use dUserSet("Nickname").("ASJKDHKSJDH ","jkhj123")
To get the value of "sads", type dUser("Nickname").("sads")
To remove the account use udb_Remove("Nickname") - it will return true, if the acc existed.
To rename an account use udb_renameUser("Nickname","NewNickname") - it will return true, if the acc existed.