dzek (varez) Posted July 4, 2010 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 Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online! programista php rzeszów Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting. Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!
loler Posted July 4, 2010 Posted July 4, 2010 im not expert but setPedSkin Isnt depreceated? you should use setElementModel M T A Note:SAMP SUCKS BADLY!!! Note: People in fire are SAMP
dzek (varez) Posted July 4, 2010 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 Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online! programista php rzeszów Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting. Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!
m4rsje Posted July 4, 2010 Author 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:)
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