Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.
GTAONLINE.PL
Tematy otagowane jako: przeładowanie
1. Przeładowanie Bankomatu
Witam mam problem, nie chce mi prze?adowa? gracza po id auta

function przeladujBankomatsprzedawca(plr)
    if 
getElementData(plr"vehicle:ownedPlayer"then
    local result
=exports["ogrpg-db"]:dbGet("SELECT * FROM ogrpg_users WHERE id=?"getElementData(plr,"player:uid"))
    if 
result and #result > 0 then
    
local v=result[1]
setElementData(plr,"player:bank_money",v.bank_money)        
end
end
end


Prosze o pomoc