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: wyplaty
1. wyplaty frakcij
Nie wiem jak zmienic kwote wyp?aty w jakim to pliku i folderze bedzie jak kto? pomoze respekt,piwko

https://zapodaj.net/036fa336b0347.png.html[color=orange][/color][/color]
2. wyplaty
[lua]
--[[
Developed by Yolos
All rights reserved!
You cannot use this without permission!
--]]
local Frakcje = { ----- ILOSC PLNOW ZA 1 PRZEPRACOWANA MINUTE!!!!!!!!!!!!!!!!!!
["SAPD"] = 550,
["PSP"] = 450,
["SAMC"] = 650,

}




local marker=createMarker(-1451.68, -428.18, 2776.00-1, "cylinder", 1.5, 98, 18, 18, 60)
setElementDimension(marker,0)
setElementData(marker,"marker:text","Wyp?aty frakcyjne")




addEventHandler("onMarkerHit", marker, function(el,md)
local sid = getElementData(el,"player:sid")
local result=exports["pystories-db"]:dbGet("SELECT * FROM pystories_factions WHERE sid=?", sid)
if #result > 0 then
if Frakcje[result[1].code] then
if getElementData(el,"player:workinjob") and getElementData(el,"player:workinjob") >= 1 then
local money = (Frakcje[result[1].code] * getElementData(el,"player:workinjob"))
local czas = getElementData(el,"player:workinjob")
setElementData(el,"player:workinjob",0)
exports["pystories-db"]:dbSet("UPDATE pystories_users SET worker=? WHERE id=?", "0", getElementData(el, "player:sid"))
outputChatBox("Trwa odbieranie wyp?aty..", el, 255, 255, 255)
setTimer ( function()
setElementData(el,"player:workinjob",0)
exports["pystories-db"]:dbSet...
3. Wyplaty frakcyjne
Mam oto taki problem, i? id? sobie do urz?du po wyp?at? i kase przelewa mi na konto a chcia?bym ?eby przelewa?o do bankomatu. Wie kto? jak to zrobi? ?
4. wyplaty frakcji
Elo .Mam problem z wyplatami :/
[lua]
--[[
Autor: Malentas
Dla: .sunnyRPG
NIE MASZ PRAWA DO U?YWANIA KODU BEZ MOJEJ ZGODY!!!!!!
]]

local screenW, screenH = guiGetScreenSize()
local sx, sy = guiGetScreenSize()

function isMouseIn(psx,psy,pssx,pssy,abx,aby)
if not isCursorShowing() then return end
cx,cy=getCursorPosition()
cx,cy=cx*sx,cy*sy
if cx >= psx and cx <= psx+pssx and cy >= psy and cy <= psy+pssy then
return true,cx,cy
else
return false
end
end

function roundedRectangle(x, y, w, h, color)
exports["nm-blur"]:dxDrawBluredRectangle(x, y, w, h, tocolor(255,255,255), false)
exports["nm-blur"]:dxDrawBluredRectangle(x + 2, y - 1, w - 4, 1, tocolor(255,255,255), false)
exports["nm-blur"]:dxDrawBluredRectangle(x + 2, y + h, w - 4, 1, tocolor(255,255,255), false)
exports["nm-blur"]:dxDrawBluredRectangle(x - 1, y + 2, 1, h - 4, tocolor(255,255,255), false)
exports["nm-blur"]:dxDrawBluredRectangle(x + w, y + 2, 1, h - 4, tocolor(255,255,255), false)
dxDrawRectangle(x, y, w, h, color, false)
dxDrawRectangle(x + 2, y - 1, w - 4, 1, color, false)
dxDrawRectangle(x + 2, y + h, w - 4, 1, color, false)
dxDrawRectangle(x - 1, y + 2, 1, h - 4, color, false)
dxDrawRectangle(x + w, y + 2, 1, h - 4, color, false)
end

function shadowText(text, x, y, w, h, color, size, font, xx, yy)
dxDrawText(text, x+1, y+1, w+1, h+1, tocolor(0,0,0), ...
5. wyplaty
witam.
mam skrypt na wyplaty (nie moj) tylko problem z tym ze nie daje wgl kasy nic nie reaguje, brak db3.
za poprawke kodu, respekt i piwko



function kasa1() 
    
local accName getAccountName(getPlayerAccount(source))
    if 
isObjectInACLGroup("user."..accNameaclGetGroup("Premium")) then  
        setTimer
(function()
            
givePlayerMoney(source1500
            
outputChatBox("test",source255,255,255true
        
end,3600000,0)
    
end 
end 
addEventHandler
("onPlayerJoin"getRootElement(), kasa1)