moze mi ktos pomoc? gdy sie wybiera skina w przebieralni, normalnie wszystko dzala ale po wyjsciu i wejsciu na serwer, skin sie ustawia na 0 ( cj ), bardzo prosze o szybka i razna odpowiedz. Totalnie nie wiem co moze byc bledem probowalem juz chyba wszystkiego. W razie co moj dc xxxxx
hej, daje mute wszystko ladnie nie moge pisac na serwerze, zapisuje do bazy danych ale po rc moge znowu pisac ;/
tutaj kod,. moze jakis blad jest z gory dzieki za pomoc
[code]addCommandHandler('wycisz', function(plr,cmd,cel,time,type, ...)
if getAdmin(plr,3) or getAdmin(plr,2) or getAdmin(plr,1) or getAdmin(plr,4) or getAdmin(plr,5) then
local text = table.concat({...}, " ")
if not cel or not tonumber(time) or not type or not text then
outputChatBox("QG • U?ycie: /wycisz <nick/ID> <czas> <jednostka: m/h/y/w> <pow?d>", plr)
return
end
local target=exports["pystories-core"]:findPlayer(plr,cel)
if not target then
outputChatBox("QG • Nie znaleziono podanego gracza.", plr)
return
end
local czas_tabela=pobierzDate(type,time)
triggerClientEvent(root, "admin:rendering", root, "Gracz "..getPlayerName(target):gsub("#%x%x%x%x%x%x","").." otrzyma? kar? wyciszenia od "..getPlayerName(plr):gsub("#%x%x%x%x%x%x","").." ("..time .. type ..") nz powodem: "..text)
if type == "m" then
exports["pystories-db"]:dbSet("INSERT INTO pystories_mute (serial,reason,time) VALUES (?,?,NOW() + INTERVAL ? minute)",getPlayerSerial(target),text,time)
elseif type == "h" then
exports["pystories-db"]:dbSet("INS...
Cze??! chcia?em sie zapytac jakiegos skryptera jak on to robi ze jak by robi? serwer to mu to premium nie znika po reconnect .
Mam Paczk? GM Play Your Stories z naszego forum i chcial bym sie zapytac lub czy by mi ktos powiedza? jak to zrobic zeby ono nie znika?o komenda dziala ale na tab sie nie pokazuje kolor itd a po reconnect to znika.
Prosze o pomoc a kodzik tutaj oba daje
c_pgui.lua
[code][.lua]local data={ showed=nil, button={}}
local screenW, screenH = guiGetScreenSize()
local sx, sy = guiGetScreenSize()
function isMouseIn(psx,psy,pssx,pssy,abx,aby)
if not isCursorShowing() then return end
cx,cy=getCursorPosition()
cx,cy=cx*sx,cy*sy
if cx >= psx and cx <= psx+pssx and cy >= psy and cy <= psy+pssy then
return true,cx,cy
else
return false
end
end