Witam mam taki problem ?e jak klikam wymiana i chce wymieni? pkt na premium to mi zabiera 5 ?eton?w i to tak wygl?da jak bym klika? w jeden przycisk 5 razy... pom?g? by kto? to poprawi?? bo walcze z tym juz od 2 dni i nie mog? tego znale??, bardzo bym by? wdzi?czny... pozdrawiam
[lua]elseif mysz(screenW * 0.4008, screenH * 0.6133, screenW * 0.0542, screenH * 0.0352) and okno3 == false and okno4 == true then
elseif mysz(822*px, 585*py, 126*px, 38*py) and gielda == true then
triggerServerEvent("wymien:pp", localPlayer, ile)
if niemozesz == true then return end
local cena = guiGetText(cenapp)
local ilosc = guiGetText(liczbapp)
if not tonumber(ilosc) then return end
if not tonumber(cena) then return end
if cena:len() > 6 then return end
if cena == "Cena" then return end
if ilosc == "Ilosc" then return end
if cena == "" then return end
if ilosc == "" then return end
if tonumber(cena) < 1 then return end
if tonumber(ilosc) < 1 then return end
if string.find(cena, 'E') then return end
if string.find(cena, 'e') then return end
if string.find(cena, 'r') then return end
if tonumber(ilosc) > tonumber(getElementData(localPlayer, "pp")) then exports["smta_base_notifications"]:noti("Nie posiadasz wystarczajacej ilosc DP", "error") return end
triggerServerEvent("wystaw:pp", localPlayer, tonumber(i... |