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: przechowywalnia/system
1. Przechowywalnia/System pojazdów
Cze??.
Mam problem z 2 errorami skrypt?w nie mam poj?cia o co chodzi i jak je rozwi?za?.
Ma kto? pomys? o co tu chodzi ?
ss z db3
https://imgur.com/a/Vc5CA
Chodzi tutaj o te linijki:
[lua]exports["ogrpg-vehicles"]:onSaveVehicle(source)[/lua]
oraz z ogrpg vehicles
[lua] local query = exports["ogrpg-db"]:dbSet(string.format("UPDATE ogrpg_vehicles SET model='%d', pos='%.2f,%.2f,%.2f,%.2f,%.2f,%.2f', rent='%d',text='%s',masked='%d', health='%d', fuel='%d', mileage='%d', frozen='%d', driver='%s', color='%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d', panelstates='%s', paintjob='%d', tuning='%s', headlights='%d,%d,%d', ownedPlayer='%d', neon='%d', um1='%s', um2='%d', um3='%s', rh='%s', naped4x4='%d', blokada='%s' WHERE id=%d",[/lua]

Ca?y kod skryptu s_parking
[lua]local mdestroy=createMarker(1582.96,-1409.87,13.59-1, "cylinder", 5, 25, 255, 25, 75)
createBlip(1582.96,-1409.87,13.59, 35,2,0,0,0,0,0,250)

local t=createElement("text")
setElementData(t,"scale",1.5)
setElementData(t,"name","Pozostawianie pojazd?w")
setElementPosition(t,1582.96,-1409.87,13.59)

addEvent("onParkingGetRekords", true)
addEventHandler("onParkingGetRekords", root, function()
local uid=getElementData(source,"player:uid")
if not uid then return end
local org = getElementData(source,"player:organization")
local result=exports["ogrpg-db"]:dbGet("SELECT...
2. Przechowywalnia/System pojazdów
Cze??.
Mam problem z 2 errorami zamieszczonymi na poni?szym zdj?ciu.
Kompletnie nie wiem jak rozwi?za? te problemy.
Pojawiaj? si? one gdy zostawi? pojazd w przechowywalni.
Dzi?ki za pomoc!

https://imgur.com/a/MxDQB