[center]Witam, mam malutki problem z systemem pojazd?w. Mianowicie chodzi o to, ?e w exporcie do bazy danych podczas zapisu, wywala mi jaki? z?y argument Prosi?bym o nakierowanie mnie jak owy b??d naprawi?.
[img]https://i.imgur.com/hdwuGm1.png[/img]
Ca?a dana funkcja:
[lua]
function onSaveVehicle(vehicle)
if getElementData(vehicle,"vehicle:spawn") then
-- Setting
local panelstates={}
local model=getElementModel(vehicle)
local health=getElementHealth(vehicle)
local x,y,z=getElementPosition(vehicle)
local rx,ry,rz=getElementRotation(vehicle)
local desc=getElementData(vehicle,"vehicle:desc") or ""
local id=getElementDa...