Jump to content

a question


Recommended Posts

local t, y, v = getTimerDetails ( timer );
setAccountData(getAccount(editboxtext),"Time",r)
 setAccountData(getAccount(editboxtext),"Timer",true)
  setTimer(function()
  local account = getAccountName(getAccount(editboxtext))
 setAccountData(getAccount(acc),"Time",r)
 end,1000,0)

where's the problem ? , the Account Data not working..

why it's don't working?

@CodyJ(L)

Link to comment
13 hours ago, #,+( _xiRoc[K]; > said:

put the full code so i can see the problem

addEventHandler("onPlayerLogin",root,function()
 local aPlayer = source;
 local mytimer = setTimer(function()
  if not isTimer(mysec) then 
  mytimer = nil 
  return end
  local accv = getPlayerAccount(aPlayer)
  local rv, av, mv = getTimerDetails ( extimerx );
 setAccountData(accv,"Time",rv)
 end,1000,0);
 setAccountData(acc,"Timer",true)
 local r, a, m = getTimerDetails ( extimerx )
 setAccountData(acc,"Time",r)
 end
 )

@#,+( _xiRoc[K]; > Where's the problem ? 
my problem is .... it's working ,, but after a few minutes , Debugscript sayd to me:
Expected Account At Argument 1 , here: setAccountData(accv,"Time",rv)
and sayd : Expected Element At Argument 1 ,here: local accv = getPlayerAccount(aPlayer)
 

Link to comment

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...