server
function requestShowStats(player)
local acc=getPlayerAccount(player)
local czas=getAccountData(acc,"player.gametime")
local x=getAccountData(acc,"player.locx")
local y=getAccountData(acc,"player.locy")
local z=getAccountData(acc,"player.locz")
local lastvisit=getAccountData(acc,"player.lastvisit")
local cash=getAccountData(acc,"player.money")
local email=getAccountData(acc,"player.email")
local age=getAccountData(acc,"player.age")
triggerClientEvent (player, "onShowStats", player,czas,x,y,z,lastvisit,cash,email,age)
end