Search the Community
Showing results for tags 'developers'.
-
Hello guys, my name is Unknown-Guy, I am staff of Nexus Games RPG. Nexus Games RPG which is still under development but we have completed the major part of work because we have a a smartphone, jobs, Shops etc but still there are a few bugs and a little work to do, and someone who can look for bugs for free. If you are a beginner developer, you still can help us by joining our team and remember we never would put pressure upon you and we will give you the sufficent time to do work. To contact me, please leave a post below or message me. Thanks Regards The Nexus Games Staff.
-
- developers
- lua
-
(and 4 more)
Tagged with:
-
function registerPlayer(username,password,passwordConfirm) --[[for k,v in ipairs(getAccounts()) do if getAccountData(v, "Serial") == getPlayerSerial(source) then noa = noa+1 end end]] local noa = dbPoll(dbQuery(dbb, "SELECT value FROM userdata WHERE value = ? AND key= ?", getPlayerSerial(source), "Serial"), -1) if #noa < 2 then if not (username == "") then if not (password == "") then if not (passwordConfirm == "") then if password == passwordConfirm then local account = getAccount (username,password) if (account == false) then local accountAdded = addAccount(tostring(username),tostring(password)) if (accountAdded) then setAccountData(accountAdded, "Serial", getPlayerSerial(source)) triggerClientEvent(source,"hideRegisterWindow",getRootElement()) exports["guimessages"]:outputServer(source, "* You have sucessfuly registered! [Username: " .. username .. " #| Password: " .. password .. "]", 255, 255, 255) setTimer(outputChatBox,800,1,"#0000FF* #FFFFFFYou can now login with your new account.",source,255,255,255,true ) else exports["guimessages"]:outputServer(source,"* An unknown error has occured! Please choose a different username/password and try again.", ذي لوحة حساب بس ما تسجل ايش الغلط ممكن مساعدة