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: podpiac
1. Jak podpiac avatary?
Mam problem z podlaczeniem avatarow z dashbordu do hudu pomoze ktos oto kod avtarow i hudu[lua]-- Autor: AsaXx

panel = false

local sw,sh = guiGetScreenSize()
local scale = 1366 / sw

local font4 = dxCreateFont("Roboto-Regular.ttf", 9)
local font41 = dxCreateFont("Roboto-Regular.ttf", 8)
local font412 = dxCreateFont("Roboto-Regular.ttf", 15)
local font4123 = dxCreateFont("Roboto-Regular.ttf", 11)

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 przecinek(liczba)
local format = liczba
while true do
format, k = string.gsub(format, "^(-?%d+)(%d%d%d)", '%1,%2')
if ( k==0 ) then
break
end
end
return format
end

function dashboard()
setPlayerHudComponentVisible ( "radar", false )
local lvl = getElementData(localPlayer, "player:lvl")
local lvl2 = getElementData(localPlayer, "player:lvl") + 1
local exp = getElementData(localPlayer, "player:exp")

local pjA = getElementData(localPlayer, "player:license:pjA") or "Brak"
local pjB = getElementData(loc...
2. jak podpiac do acl
Podacie dokladnie jak w acl dac skryptowi pozwolenie na wszystko
3. Jak podpiac OWLGaming
Chcialbym sie dowiedziec jak podpiac to pod sqla bo nie dziala mi logowanie !!

Edit

Za pomoc dam piwko i rep+

[ Dodano: 2017-03-21, 18:14 ]
Em, szkoda ze nikt nie chce pomoc..
4. jak podpiac skrypt?
Witam mam taki kod:
[lua]--[[
lss-admin: raporty oraz podgl?d log?w
@author Lukasz Biegaj <[email protected]>
@copyright 2011-2013 Lukasz Biegaj <[email protected]>
@license Dual GPLv2/MIT
@package MTA-XyzzyRP
@link https://github.com/lpiob/MTA-XyzzyRP GitHub
]]--


local text_display=textCreateDisplay()
local gameView= textCreateTextItem ( "", 0.01, 0.3, "medium", 255,255,255,255,1,"left","top",255)
local reportView=textCreateTextItem( "", 0.99, 0.7, "low", 255,255,255,255,1,"right","top",255)
--textitem textCreateTextItem ( string text, float x, float y, [string priority, int red = 255, int green = 0, int blue = 0, int alpha = 255, float scale = 1, string alignX = "left", string alignY = "top", int shadowAlpha = 0] )

textDisplayAddText ( text_display, gameView )
textDisplayAddText ( text_display, reportView )

local gameView_contents={ "Zas?b lss-admin zosta? zrestartowany" }
local reportView_contents={}

local time = getRealTime()

local tn=string.format("%04d%02d%02d%02d%02d%02d-%02d.txt", time.year+1900, time.month, time.monthday, time.hour, time.minute, time.second, math.random(1,99))

local fh=fileCreate("logi/"..tn)
--fileClose(fh)

function outputLog(text)
if (text and fh) then
local time = getRealTime()
local ts=string.format("%04d%02d%02d%02d%02d%02d> ", time.year+1900, ...