local accData = getAccountData(theCurrentAccount, "p-money")
theCurrentAccount = nie oznaczy?e?, czym jest.
Powinno to wygl?da? tak:
function spawnInLS(thePreviousAccount, theCurrentAccount, autoLog)
if not isGuestAccount(getPlayerAccount(source)) then
local theCurrentAccount = getPlayerAccount(source) --O to mi chodzi?o
local accData = getAccountData(theCurrentAccount, "p-money")
if accData then
local pmoney = getAccountData(theCurrentAccount, "p-money")
local phealth = getAccountData(theCurrentAccount, "p-health")
local parmor = getAccountData(theCurrentAccount, "p-armor")
local pwanted = getAccountData(theCurrentAccount, "p-wanted")
........
end
Nie możesz pisać nowych tematów Nie możesz odpowiadać w tematach Nie możesz zmieniać swoich postów Nie możesz usuwać swoich postów Nie możesz głosować w ankietach