Jump to content

[HELP]Pos save,(SOLVED(SEBAS))


m4rsje

Recommended Posts

Posted
-- 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)!

Posted

im not expert but

setPedSkin

Isnt depreceated?

you should use

setElementModel

:glasses2::bazooka::bazooka::onfire::onfire::onfire::onfire::onfire:

M T A

Note:SAMP SUCKS BADLY!!!

Note: People in fire are SAMP

Posted
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 :P

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)!

Posted

haha its already fixed :)

i removed something from playerloggedin false,

like sebas said and it worked :)

thank you for your time, its fixed:)

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...