m4rsje Posted July 4, 2010 Share Posted July 4, 2010 (edited) -- Edited July 4, 2010 by Guest Link to comment
dzek (varez) Posted July 4, 2010 Share Posted July 4, 2010 -- part of your code: local playerAccount = isPlayerLoggedIn(player) -- you are checking if the player is logged (getting true or false) if playerAccount then -- if true setAccountData(playerAccount, "s.HandMoney", tonumber(getPlayerMoney(player))) -- save data to .. "true"? -- conclusion: -- you need to getPlayerAccount after checking if he/she is logged in -- then save/read to this account Link to comment
m4rsje Posted July 4, 2010 Author Share Posted July 4, 2010 it already checks if its an playerAccount Link to comment
loler Posted July 4, 2010 Share Posted July 4, 2010 im not expert but setPedSkin Isnt depreceated? you should use setElementModel Link to comment
dzek (varez) Posted July 4, 2010 Share Posted July 4, 2010 it already checks if its an playerAccount oh, sorry, i didnt notice that isPlayerLoggedIn is your custom function loler is right - i dont know which version is not using setPedModel anymore, but you should change it setElementModel u tried to debug it with debugscript ? @loler: i said same thing to you few days ago, i see you learnt something Link to comment
m4rsje Posted July 4, 2010 Author Share Posted July 4, 2010 haha its already fixed i removed something from playerloggedin false, like sebas said and it worked thank you for your time, its fixed:) 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