Jump to content

sc00r3

Members
  • Posts

    4
  • Joined

  • Last visited

sc00r3's Achievements

Vic

Vic (3/54)

0

Reputation

  1. sc00r3

    OOP problem

    I fixed it by myself, really thanks for help you are awesome!
  2. sc00r3

    OOP problem

    I had 2 handlers onPlayerLogout and onPlayerQuit. Does onePlayerLogout work, while you are leaving server?
  3. sc00r3

    OOP problem

    Wow, yeah that was my fault, this is saying "guest". Do you know what the handler should i use to save my account before use script?
  4. sc00r3

    OOP problem

    Hello guys! I have the problem with oop in MTA:SA. I want to save my data to account so i'm using it like that function playerAccountSetData(player, dataname, amount) player:getAccount():setData(dataname, amount) end Okey, my data is changed, but when i logout and log in again, my data in account is null... Is this a oop problem? Or i'm making something bad? This is not even editing my db file... Thanks for help! Greetings, sc00r3! //Edit1 I'm checking data after adding it by outputChatBox(player:getAccount():getData(dataname)) and it show the data, what i saved.
×
×
  • Create New...