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: pystories-vehicle
1. pystories-vehicle - niezapisuje tuningu itd.
Witam posiadam problem z pystories-vehicles , w skr?cie opisuj?c problem..
Polega na braku zapisu od strony wy?ej wymienionego zasobu.
B??d linijki 265

Link : https://cdn.discordapp.com/attachments/922066478688268288/932668886690721802/Bez_tytuu.png
[quote]vehicles=0
root=getRootElement()
resourceRoot=getResourceRootElement(getThisResource())

local nlOffsets={
[411]={-1,0,-0.6}, -- infernus
[470]={-1,0,-0.4}, -- patriot
[541]={-0.9,0,-0.4}, -- bulelt
[549]={-0.9,0,-0.4}, -- tampa
[587]={-1,0,-0.5}, -- euros
}

local nlIDX={
3962,2113,1784,2054,2428,2352
}

function getVehicleHandlingProperty ( element, property )
if isElement ( element ) and getElementType ( element ) == "vehicle" and type ( property ) == "string" then
local handlingTable = getVehicleHandling ( element )
local value = handlingTable[property]

if value then
return value
end
end

return false
end

function getAdmin2(plr,level)
if level then
local result=exports["pystories-db"]:dbGet("SELECT * from pystories_admins WHERE serial=? AND level=?", getPlayerSerial(plr), level)
if result and #result > 0 then
return true
else
return false
end
else
local result=exports["pystories-db"]:dbGet("SELECT * from pystories_admins WHERE serial=?", getPlayerSerial(plr))
if result and #result > 0 then
return true
else
retur...
2. pystories-vehicle
Witam od pewnego mam pewien b??d kt?ry w pystories-vehicles i nie wiem jak do naprawi?.
DB3:
3. Brak optymalizacji pystories-vehicle
Witam. M?j skrypt na pojazdy zaczyna "Lagowa?" gdy wchodz? w map? F11. Dzieje si? to jak sesja trwa z 1-2 Godziny i z ka?d? minut? FPS spadaj? a? do 10-15. W DB3 nic nie ma. Spadki FPS znikaj? po reconnect lub po restarcie zasobu.

Daje ca?y kod bo nie wiem od czego to mo?e zale?y?.

https://pastebin.com/xk6s8d8i