Mohamed Posted March 1, 2015 Share Posted March 1, 2015 اش الخطاء هون function PlayerSim (thePreviousAccount, theCurrentAccount, autoLogin) if not (isGuestAccount (getPlayerAccount (source))) then local accountData = getAccountData (theCurrentAccount, "Cart") if (accountData) then local playerMoney = getAccountData (theCurrentAccount, "Cart") end end end addEventHandler ("onPlayerLogin", getRootElement(), PlayerSim) function onQuitSim (quitType, reason, responsibleElement) if not (isGuestAccount (getPlayerAccount (source))) then account = getPlayerAccount (source) if (account) then setAccountData (account, "Cart", tostring (getElementData(source,"Cart"))) end end end addEventHandler ("onPlayerQuit", getRootElement(), onQuitSim) Link to comment
TAPL Posted March 1, 2015 Share Posted March 1, 2015 مافيه خطأ برمجي بالكود، كودك ما يسوي شي لما لاعب يسجل دخول انت جالس تجيب الاكاونت داتا في سطر 4 تتحقق ان الأكاونت الداتا موجود في سطر 5 ترجع تجيب الأكاونت داتا في سطر 6 يعني انت تجيب الأكاونت داتا و ما تسوي فيها شي 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