Witam wszystkich! Mam problem dotycz?cy wyciszania i zabierania prawka, na poprzedniej edycji serwera wszystko by?o pod??czone dobrze, dzia?a?o prawid?owo i nie by?o b??d?w. Teraz pod??czyli?my r?wnie? dobrze na innej paczce ale nie dzia?a TYLKO ZPJ i wyciszenie, dziwne jest to ?e Ban i Kick dzia?a a tylko w?a?nie wspomniane ZPJ i Mute nie dzia?a. Wszystkie tematy w?asnie dot. tego ?e ZPJ nie dzia?a przeczyta?em, robi?em tak jak to niekt?rzy polecali i dalej nic. A tutaj vehicles.lua
[code]--[[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}
local categoryA1={[462] = true,[468] = true}
addEventHandler("onVehicleStartEnter", root, function(plr,seat,jacked)
if getElementHealth(source) &l... |