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: jaila
1. Nie tepa do jaila
Witam, mam problem poniewa? nie tepa gracza do jaila po wpisaniu /jail ID CZAS m/h POWOD

Ale po wpisaniu /unjail ID tepa gracza pod komende i ze jest wypuszczony

Pisze tylko na czacie ze jest w wiezieniu. Zero b??d?w w DB3.
Mo?e kto? to zmieni? aby dzia?a?o? Dam piwerko


[code]local cub = createColCuboid(1336.20, -1081.96, -60.85, 20, 20.75, 12.5)

function u(e)
getElementData(e, "player:sid")
end

local cele = { -- x,y,z,int,dim
{1323.62, -1093.68, -60.85,0,0},
{1336.14, -1096.00, -60.85,0,0},
{1347.56, -1094.26, -60.85,0,0},
{1345.27, -1072.97, -60.85,0,0},
}
local x,y,z = 1541.32, -1675.48, 13.55
local m=createElement("text")
setElementData(m, "name", "/jailn/unjailn(dla SAPD)")
setElementData(m, "scale", 1.3)
setElementPosition(m, 1467.00, 1189.99, 129.45)

local function wypusc(plr)
setElementDimension(plr,1)
setElementInterior(plr,0)
setElementPosition(plr,1467.00, 1189.99, 129.45)
outputChatBox("Zosta?e? wypuszczony z wi?zienia.",plr, 255, 255, 255)
end

function getPlayerName2(plr)
if not plr then return end
return getPlayerName(plr):gsub("#%x%x%x%x%x%x","")
end

local function sprawdz(plr)
if not plr then return end
if not getElementData(plr,"player:sid") then return end
local x = exports['pystories-db']:dbGet("SELECT * FROM saj WHERE Serial=?",getPlayerSerial(plr))
if not x or #x < 1 then return end
local x2=exports['py...