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: potszebuje
1. witam potszebuje cos tu nie dziala
zaraz podesle skryp[URL]http:// [code]
,


local vehicles = "BRAK"
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

whitelist = {
['pystories-admins'] = true,
['p_detune'] = true,
['p_wheels'] = true,
['psrpg-ogranicznik'] = true,
['p_wheels'] = true,
['bakmontaz'] = true,
['enginemontaz'] = true,
['neon'] = true,
['tune'] = true,
['Qmix_Przechowywalnia'] = true,
['enonek-przechowywalnia'] = true,
['enonek-pp'] = true,
['suszarka'] = true,
}


function refresh_command()
whitelist = {}
local result=exports["pystories-db"]:dbGet("SELECT * FROM Qmix_vehicles_Whitelist")
for i,v in ipairs(result) do
whitelist[v.skrypt] = true
end
end
setTimer(function()
refresh_command()
end,20000,0)






function create_veh(_,id,poss,buyed,player)
Settings (QUERY)
if sourceResource and not whitelist[getResourceName(sourceResource)] then return end
if id then
result=exports["pystories-db"]:dbGet("SELECT * FROM Qmix_vehicle WHERE parking=1 AND id=?", id)
query=exports["pystories-db"]:dbS...