KaduRo Posted May 27, 2014 Share Posted May 27, 2014 السلام عليكم شباب سويت لوغن بانل , بس حبيت اعرف كيف اخلي السكربت يتحقق إن كان هذا الحساب موجود فإذا كان موجود يتحقق من الباسورد , إذا كان الباسورد صحيح راح يسجل دخوله والعكس لا كود السيرفر function playerlogin(username , password) if (username == "" or password == "" or username and password == "") then triggerClientEvent("Error3" , source) end local account = getAccount ( username, password) if username ~= "" or password ~= "" or username and password ~= "" then if account == true then return else triggerClientEvent("Error1" , source) end if ( account ~= false ) then logIn(source, account, password) if getPlayerAccount(source) and not isGuestAccount(getPlayerAccount(source)) then triggerClientEvent("closing" , source) end end end end addEvent("onClick" , true) addEventHandler("onClick" , root , playerlogin) Link to comment
al-Kobra Posted May 27, 2014 Share Posted May 27, 2014 يمكن يفيدك https://forum.multitheftauto.com/viewtopic.php?f=160&t=75584 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now