Where The Problems ? debug say's ; :6 attempt to compare number with nil.
addEvent("AristatesOnServer", true)
addEventHandler("AristatesOnServer", getRootElement(),
function()
local Aristates = getPlayerAccount(source)
if Aristates then
if tonumber(getAccountData(Aristates,"cash")) >= 50000 then
setAccountData(Aristates,"cash",(tonumber(getAccountData(Aristates,"cash")) or 0)-50000)
else
outputChatBox ( "Yetersiz Para", source, 255, 255, 255, true )
end
end
end
)