addCommandHandler ( "zp.b", function ( plr, cmd, gracz, czas, rodzaj, ... )
if getElementData(plr, "ekipa") == 5 then
if not gracz and not rodzaj and not czas and not ... or not gracz == nil or rodzaj == nil or czas == nil then
return end
player = getPlayerFromName(gracz)
konto = getPlayerAccount ( player )
if not player then return end
txt = table.concat ( {...}, " " )
if rodzaj == "m" then
rodzaj = "minut"
czas1 = czas * 60
elseif rodzaj == "s" then
rodzaj = "sekund"
czas1 = czas * 1
elseif rodzaj == "d" then
rodzaj = "dni"
czas1 = czas * 360
elseif rodzaj == "h" then
rodzaj = "godzin"
czas1 = czas * 60 * 60
end
if not getAccountData(konto, "prawojazdy") then
else
setAccountData(konto, "prawojazdy", false)
setAccountData(konto, "prawojazdy", false, czas1)
end
end
end)