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: zpl
1. zpj,zpl nie działa
A wi?c tak, gdy pr?buje zabra? prawo jazdy, to pisze ?e zabra?o a i tak moge wchodzic do pojazdu. Jak wpisuje /opj 1, to pisze ?e odda?o.


SS'y z Zabierania prawka:
https://imgur.com/a/6etA1K2


SS'y z ACL:

[img]https://i.imgur.com/CyxljXq.jpg[/img]



Kody:


ogrpg-core/vehicles.lua:
[lua]--[[
Resource: OURGame v2
Developers: Split <[email protected]>
You have no right to use this code without my permission.
(c) 2015 <[email protected]>. All rights reserved.
]]
-- Get vehicle keys
function getVehicleKey(plr,veh)
if plr and veh then
local uid=getElementData(plr,"player:uid")
if not uid then return end
if getElementData(plr,"player:admin") or uid == getElementData(veh,"vehicle:ownedPlayer") then
return true
else
return false
end
end
end
local categoryL={[592] = true,[553] = true,[577] = true,[488] = true,[511] = true,[497] = true,[548] = true,[563] = true,[512] = true,[476] = true,[593] = true,[447] = true,[425] = true,[519] = true,[520] = true,[460] = true,[417] = true,[469] = true,[487] = true,[513] = true}
addEventHandler("onVehicleStartEnter", root, function(plr,seat,jacked)
if getElementHealth(source) < 302 then
setElementHealth(source,302)
end
end)
function jestwtabeli(***,truj)
for k,v in pairs(***) do
if v == truj then
return true
end
end
return false
end
addCommand...
2. ZPJ,ZPL,BAN dzialaja niepoprawnie
Czesc, mam serwer od dluzszego czasu no i wszystko dzialalo. Moglem zabierac prawka bany dawac i all dzialalo. Dzisiaj wchodze i juz nie dziala.