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: nie
441. Panel się nie podświetla
nie dzia?a mi panel czyli klikam p i jest tylko opcje dzia?aj? a reszta si? nie podswietla i nie chce mi dzia?a? robi?em reinstalacje odpala?em od nowa serwer nawet kupi?em gdzie indziej serwer na innej platformie i nadal to mam

ss https://imgur.com/a/NZjp4ml
442. Nie zapisuje się hajs
Siemka mam problem z paczk? denverMTA jak chce kupi? auto to mi si? nie zapisuje w przecho a jak wyjd? z serwera i wejd? nie zapisuje si? hajs pomo?e kto? dam zimne piwko za pomoc
443. Nie wyskakujące GUI po ponownym wejściu w marker
Witam, mam ma?y problem z oknem na dxdrawach. Mianowicie, GUI dzia?a pi?knie bez ?adnych zarzut?w do momentu a? nie zamkn? go/rozpoczn? pracy. Problem jest taki, ?e po ponownym wej?ciu w marker po wy??czeniu okna GUI si? nie pojawia tak jakby tego markera tam nie by?o, B??d?w nie ma ?adnych w db3. Za pomoc daje zimnego :piwo:
[lua]
local screenW, screenH = guiGetScreenSize()
okieneczko = false

function Panelmagazyn()
dxDraw..
end

addEvent("GUImagazynu", true)
addEventHandler("GUImagazynu", resourceRoot, function()
if okieneczko == false then
addEventHandler("onClientRender",root,Panelmagazyn)
tick = getTickCount()
okieneczko = true
showCursor (true)
end
end)

function ZamknijOkno(button, state)
if okieneczko and button == "left" and state == "down" then
if cursorPosition(screenW * 0.5098, screenH * 0.5573, screenW * 0.1963, screenH * 0.0469) then
removeEventHandler("onClientRender",root,Panelmagazyn)
okieneczko = false
showCursor (false)
end
end
end
addEventHandler("onClientClick", getRootElement(), ZamknijOkno)

function Rozpocznijprace(button, state)
if okieneczko and button == "left" and state == "down" then
if cursorPosition(screenW * 0.2949, screenH * 0.4870, screenW * 0.1963, screenH...
444. SAMP nie uruchamia serwera
Pomocy, po latach chce sobie wej?? na stary dobry serwer net4game, lecz wyskakuje taki b??d, pomo?e mi kto??

SA-MP 0.3.7-R3
Exception At Address: 0x0040FB80
Base: 0x04440000

Registers:
EAX: 0x127748D0 EBX: 0x12772888 ECX: 0x00000000 EDX: 0x00000000
ESI: 0x0460DEC8 EDI: 0x12772888 EBP: 0x00000118 ESP: 0x0177FC78
EFLAGS: 0x00210202

Stack:
+0000: 0x004C6DC5 0x00000030 0x12772888 0x12772888
+0010: 0x0460DEC8 0x00000118 0x00001500 0x0177FCD8
+0020: 0x0177FCD8 0x127748D0 0x0460DEC8 0x01856748
+0030: 0x0177FCD8 0x008A62EC 0x008A62EC 0x0460DEC8
+0040: 0x00001500 0x004C549D 0x01856680 0x004C52F0
+0050: 0x0177FCD8 0x12772888 0x0460DEC8 0x0177FF60
+0060: 0x0083BC4B 0xFFFFFFFF 0x004C7369 0x12772888
+0070: 0x12772888 0x0460DEC8 0x005373CF 0x12772888
+0080: 0x008E48AC 0x00000118 0x0460DEC8 0x000015E0
+0090: 0x0040C814 0x008E48AC 0x0460DEC8 0x000015E0
+00A0: 0x00000118 0x00000000 0x008E4A60 0x00000000
+00B0: 0x12439800 0x00012000 0x008E7B50 0x0177FF60
+00C0: 0x74D9F660 0x5278B629 0xFFFFFFFE 0x0040E2CA
+00D0: 0x12439800 0xFFFFFFFF 0x00000000 0x00000008
+00E0: 0x00000000 0x76CAEBE0 0x00000000 0x00000000
+00F0: 0x00000024 0x0040EAC8 0x00000000 0x00000001
+0100: 0x00000000 0x00863B10 0x005BA263 0x00000000
+0110: 0x00863A6C 0x0086A578 0x00000000 0x0053BCAB
+0120: 0x00863B10 0x00863B10 0x00863A90 0x00863B10
+0130: 0x0000000A 0x0053E593 0x00863B10...
445. Nie wiem jak zmienić limit banku
Witam potrzebuje pomocy w zmianie limitu banku kto? mi tak napisa? : wystarczy strukture tabeli bank_money zmieni? z int 11 na bigint 20 . Ale nie wiem jaki to skrypt czy to baza danych prosze o pomoc za pomoc b?dzie piwko na gtao Dzi?kuje


Paczka PSRPG 1.0
446. nic się nie dzieje po wejściu w marker


        s1 
createMarker(2202.74, -2852.5913.29-1"cylinder"302550100)
        
addEventHandler("onClientMarkerHit"s1, function(elmd)
            if (
el == getLocalPlayer() and mdthen
           
if (exports.global:hasItem(el34"1")) then
                exports
.hud:sendBottomNotification(el"Korner""Pomy?lnie sprzeda?e? kokaine."
                
exports.global:giveMoney(el100)
end
else
                
exports.hud:sendBottomNotification(el"Korner""Nie masz kokainy."
end
end
)

w db3 nic nie ma i pr?bowa?em z przedmiotem i bez przedmiotu i nic

jest to s-side
dlatego troch? pozmienia?em i oto rezultat

       s2 
createMarker(2404.68, -1343.5925.23-1"cylinder"302550100)
        
addEventHandler("onPlayerMarkerHit"s2, function()
                
exports.global:giveMoney(source100)
end)
447. Nie dzialajacy import aut XyzzyRP
Witam. Ostatnio bawie sie Gamemodem XyzzyRP dla MTA SA, i nie dziala import aut. Klikam w "Rozpocznij prace" w budynku importu, wchodze w marker, wpisuje /importujpojazd 410 i nic. Moze ktos cos poradzic? Pozdrawiam
448. Nie moge wejść na serwer
Siemka wszystkim, problem mam taki. Nie moge wej?? na sw?j serwer

B??d pobierania: Error downloading requested files. Couldn't connect to server. [Failed to connect to 178.33.54.31 port 20409: Connection refused] [dxLibary/images/line.png]

Prosze mi nie pisa? rzeczy typu "Ty masz zje*any serwer" poniewa? dzieje si? tak tylko kiedy ja wbijam inni mog? bez problemu wbi?.
Po kolei pr?bowa?em wy??cza? skrypty i sprawdza? czy na ka?dym skrypcie error wyskakuje, i tak na ka?dym w nie kt?rych skryptach ma problem z pobraniem plik?w png a w innych w zwyk?ych plikach. Reinstall mta nie pom?g?, wczesniej mia?em problem z hudem w mta wi?c zrobi?em reinstall gta sa po czym wbi?em na serwer i wszystko dzia?a?o, poszed?em d?u?sze zw chcialem wbic i nie wbija, dzieje sie tak tylko na tym serwerze

[ Dodano: 2019-11-08, 10:48 ]
Dodam jeszcze ?e w konsoli serwera jest napisane po prostu

JOIN: Nick joined the game (IP: **********)
i po sekundzie od wbicia
QUIT: Nick left the game [Quit]
W konsoli nie ma ?adnych b??d?w
449. Mysql nie odczytuje/zapisuje poprawnie
Witam mam problem, tworze konto na serwerze (jako pierwszy i jest ono w tabeli na samej gorze) i kolega jako drugi (jest konto w tabeli pod moim) i logujac sie na serwer w kolumnie logged zmienia mi wartosc 0 na 1, gdy kolega wbije na serwer (jesli ja jestem tez online) to jemu nie zmienia logged na 1 tylko przypisuje tak jakby cala jego tabele do mojej. Jesli on wyjdzie z serwera (gdy ja jestem online) to w tabeli mojego konta wartosc logged zmienia sie na 0 podczas gdy ja jestem nadal online. Tak samo jest z innymi kolumnami np. premium mam do 2020-01-01 a kolega 0000-00-00 i on wejdzie i wyjdzie z serwera (gdy ja jestem online) to mi zmienia wartosc z 2020-01-01 na 0000-00-00.
Czy to jest przez kolumne "id", kt?re ciagle posiada wartosc 0 ?

450. nie moge sie logowac na skrypt owl
Kod:

[19-10-31 10] ERROR: mysql/connection.lua:384: bad argument #1 to 'mysql_escape_string' (mysqlHandler expected, got nil)
[19-10-31 10] ERROR: account/login-panel/server.lua:215: call: failed to call 'mysql:escape_string' [string "?"]
[19-10-31 10] ERROR: mysql/connection.lua:384: bad argument #1 to 'mysql_escape_string' (mysqlHandler expected, got nil)
[19-10-31 10] ERROR: mysql/connection.lua:384: bad argument #1 to 'mysql_escape_string' (mysqlHandler expected, got nil)
[19-10-31 10] ERROR: account/login-panel/server.lua:215: call: failed to call 'mysql:escape_string' [string "?"]
[19-10-31 10] ERROR: account/login-panel/server.lua:215: attempt to concatenate a boolean value



Macie logi bazy danych jak klikne zarejestruj prosze o piln? pomoc
451. Nie można sie zalogowac na owla
****************************** Login Passed... Welcome ******************************

[19-10-19 20:02] apps restarted successfully
[19-10-19 20:02] WARNING: admin-system/Player/s_player_commands.lua:734: Expected number, got non-convertible string. This warning may be an error in future versions. [DUP x6]
[19-10-19 20:03] ERROR: job-system-trucker/s_trucker_job.lua:42: call: failed to call 'mysql:fetch_assoc' [string "?"]
[19-10-19 20:03] ERROR: job-system-trucker/s_trucker_job.lua:48: call: failed to call 'mysql:free_result' [string "?"]
[19-10-19 20:03] INFO: [JOB-SYSTEM-TRUCKER] Fetched 0 actual orders sucessfully from SQL
[19-10-19 20:03] WARNING: report-system/s_reports.lua:83: Bad argument @ 'getPlayersInTeam' [Expected team at argument 1, got nil]
[19-10-19 20:03] ERROR: report-system/s_reports.lua:83: attempt to get length of a boolean value
[19-10-19 20:04] restart: Requested by Console
[19-10-19 20:04] restart: Resource restarting...
[19-10-19 20:04] Stopping account
[19-10-19 20:04] Resource 'account' changed, reloading and starting
[19-10-19 20:04] WARNING: account/c_main.lua(Line 3) [Client] showPlayerHudComponent is deprecated and may not work in future versions. Please replace with setPlayerHudComponentVisible.
[19-10-19 20:04] WARNING: account/c_characters.lua(Line 7) [Client] showPlayerHudComponent is deprecated and may not work in future versions. Please replace with setPlayerHudComponentVisible.
[19-10-19 2...
452. Montaz Paintjobow nie działa
Cze??, wi?c zrobi?em skrypt do montowania Nitra i Paintjoba lecz jak klikam zeby kupic to bierze pieniadze i pisze ze naklejono paintjob, w bazie danych ID paintjoba sie zmienia lecz po wyjeciu auta z przecho paintjob Wraca na ten przed monta?em.
]m?j kod Client:
[lua]GUIEditor = {
button = {},
window = {}
}
addEventHandler("onClientResourceStart", resourceRoot,
function()
local screenW, screenH = guiGetScreenSize()
GUIEditor.window[1] = guiCreateWindow((screenW - 678) / 2, (screenH - 598) / 2, 678, 598, "Monta? Nitra, Painjob?w", false)
guiWindowSetSizable(GUIEditor.window[1], false)
guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFFF0000")

GUIEditor.button[1] = guiCreateButton(232, 38, 204, 119, "NITRO X5 - DU?A BUTLAnn$150000,000", false, GUIEditor.window[1])
guiSetFont(GUIEditor.button[1], "default-bold-small")
guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFFE7700")

GUIEditor.button[2] = guiCreateButton(10, 37, 201, 120, "NITRO X2 - MA?A BUTLAnn$100000,000", false, GUIEditor.window[1])
guiSetFont(GUIEditor.button[2], "default-bold-small")
guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFFE7700")

GUIEditor.button[3] = guiCreateButton(454, 38, 214, 119, "NITRO X10 - DWIE MA?E BUTLEnn$200000,000", false, G...
453. dev-paczka coś jest nie tak
Witam potrzebuj? od was Pomocy Mianowicie mam na takim jednym serwerze wgran? podmianke obiekt?w Dev_paczka i w prawym g?rnym rogu ekranu Pisze napsis "edytor obiekt?w dev Gaming i jak si? klika litere "q" to wyskakuje Okienko do wyboru pod?ogi jak na map editorze Nie wiem jak to usunac a Sama paczka jest zakodowana "luac" Jak kto? wie jak usun?? niech si? zg?osi pod tym postem
454. W scoreboard nie wyświetla się kolor rangi.
Wi?c tak problem polega na braku kolor?w w ScoreBoardzie ... dodawa?em ka?d? mo?liw? funkcj? local r , g ,b getPlayerNameTag ( theplayer ) i z bia?ego koloru w tabeli robi si? czarny kolor a tu w?a?nie chodzi o to aby kolory Administracji pobiera? ten scoreboard [ RCON ] Czerwony itd.

Podaj? kod , skryptu :
[code]
local screenW, screenH = guiGetScreenSize()
local sx, sy = guiGetScreenSize()
local w, h=(sx/1680), (sy/1050)

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

local tabulator = false
local czcionka = dxCreateFont("f.ttf", 13*w)
local czcionka2 = dxCreateFont("f.ttf", 18*w)


local k = 1
local n = 13
local m = 13

if not czcionka then
czcionka = "default"
end

local zakladki = {
id = "ID",
name = "Nazwa",
reputation = "RP",
organization = "Organizacja",
uid = "UID",
ping = "Ping",
faction = "Frakcja",
}

local ss = 1
local tabulator=false
local ping = {}


function sort(op1, op2)
if isElement(op1) and isElement(op2) then
return getElementData(op1, "id") < getElementData(op2, "id")
end
end

function gui()
local players = {}
for i,v i...
455. nie pokazuje się gui
Witam mam problem gdy robie tabelowo markery to gui si? nie pojawia

markerybramek 
= {
        {-
2668.281270.7455.43},
        {-
2676.891270.8555.43},
        {-
2685.521270.5655.43},
        {-
2694.521270.7155.43},

    }
    for 
_,v in ipairs(markerybramek) do
        
xd createMarker(v[1], v[2], v[3]-0.5"cylinder"32552500170)
        
end

        
--local xd createMarker(-2685.521270.5655.43-1"cylinder"1.5064,255,0,0)

    
addEventHandler("onClientMarkerHit",xd, function(el,md)
        if 
el~=localPlayer then return end
        
--if getPedOccupiedVehicle(elthen return end
            showCursor
(true)
            
addEventHandler("onClientRender"rootgui_bramki)
            
setElementData(el"marker:bramki"true)
            
setElementFrozen(eltrue)
    
end)

db3 czyste a gdy dodam jedne marker nie tabelowo to wszystko pokazuje ?adnie
456. Skrypt z GM nie dziala
Witam mam problem z skryptem wyciagnelem go z gm i nie chce dziala?.

Prosz? o pomoc :) z g?ry dzi?kuj?!






wejscie 
createMarker(536.12683, -1810.754886.571-0.70"cylinder"1255,255,255,0)
  
setElementData(wejscie"marker1"true)




addEventHandler("onMarkerHit"wejscie, function(playerdimension)
    if 
player and dimension then
        
if player.type == "player" then
            
if not player.inVehicle then
                fadeCamera
(playerfalse1000)
                
Timer(function()
                    
player.interior 1
                    setTimer
(function() takeAllWeapons(playerend20001)
                    
player:setPosition(531.54663, -1809.591676.65)
                    
player:setRotation(00360)
                
end10001)
                
Timer(fadeCamera10001playertrue1)
            
end
        end
    end
end
)
457. Przechowywalnia nie zapisuję pojazdów
Witam mam problem z gamemodem SocietyMTA, ot?? gdy wje?d?am w marker ?eby w?o?y? pojazd do przechowalniani w debugscript 3 pokazuj? mi si? taki error:
a jak pr?buj? wyci?gn?? z przechowywalni to pojazd si? nie wyci?ga i pokazuj? si? taki error:

Za pomoc stawiam zimne piwko :piwo: :->
458. Skrypty się nie włączają
Witam, mam paczke Empire Santos i gdy chce odpalic skrypt, pisze mi: start: Resource is loaded, but has errors (Couldn't find script anim.luac for resource rpg_anims)
I tak w kazdym skrypcie, prosilbym o pomoc. Stawiam zimne :piwo:
459. nie dziala skrypt
robilem ostatio prace kelnera ale konsola caly czas pokazuje blad
function arguments expected near ','

oto server.lua
local BLIP createBlip(202.89779663086, -204.074295043951.57812552)
local Start createMarker(372.98309326172, -118.809448242191001.4921875'cylinder'1.525500)

stoliki = {
-- {
xyz},
{
369.19866943359, -128.255035400391001.4995117188},
{
373.76834106445, -124.126968383791001.4921875},
{
373.99011230469, -130.984832763671001.4921875},
}

setElementInterior(Start5)
function 
MarkerHit(plrhitElementStart)
outputChatBox("** Rozpocz??e?/a? prace Kelnera!"plr)
setElementData(praca:kelnertrue)

local los math.random(1#stoliki)
local cel createMarker(stoliki[los], 'cylinder'1.225501000)
setElementInterior(cel5)
function 
MarkerHit(plrhitElementcel)
function 
kaska(thePlayer)
local hajs math.random(150250)
givePlayerMoney(hajs)
outputChatBox("Za prace otrzymujesz"..hajs..,thePlayer)
setElementData(praca:kelnerfalse)
end
460. Rejestracje nie pokazuja ID
Cze?? i czo?em. Mam problem z Id na rejkach pojazd?w.
W DB3 https://imgur.com/a/639GgNU

linijka 77 [Lua]local id = getElementData(vehicle, "vehicle:id")[/lua]

[lua]vehicles=0
root=getRootElement()
resourceRoot=getResourceRootElement(getThisResource())

local nlOffsets={
[411]={-1,0,-0.6}, -- infernus
[470]={-1,0,-0.4}, -- patriot
[541]={-0.9,0,-0.4}, -- bulelt
[549]={-0.9,0,-0.4}, -- tampa
[587]={-1,0,-0.5}, -- euros
}

local nlIDX={
3962,2113,1784,2054,2428,2352
}
outputChatBox = _outputChatbox
function outputChatBox(tekst,gracz)
if not gracz then return end
if not isElement(gracz) then return end
if getElementType(gracz) ~= "player" then return end
triggerClientEvent(gracz,"powiadomienie",root,tekst)
end
function getAdmin2(plr,level)
if level then
local result=exports["tiyl-db"]:dbGet("SELECT * from tiyl_ekipa_adm WHERE serial=? AND level=?", getPlayerSerial(plr), level)
if result and #result > 0 then
return true
else
return false
end
else
local result=exports["tiyl-db"]:dbGet("SELECT * from tiyl_ekipa_adm WHERE serial=?", getPlayerSerial(plr))
if result and #result > 0 then
return true
else
return false
end
end
end
--///////////////////////////////////// WCZYTYWANIE POJAZD?W /////////////////////////////////
function getVehicleHandlingProperty ( element, property )
if isElement ( element ) and getElementType (...
461. Przecho nie działa
Dobry.

Po restarcie serwera popsu?a mi sie przechowywalnia w db3 jest taki b?ad


Kod
function loadCar(  )
    if 
veh then veh:destroy(  ) end
    local color
=split(vehicles[actual_car]["color"], ",")
    
local lights=split(vehicles[actual_car]["headlights"], ",");
    
veh createVehiclevehicles[actual_car].model1385.87, -20.981000.82 );
    for 
i,v in ipairs(split(vehicles[actual_car]["tuning"], ",")) do veh:addUpgrade); end
    veh
:setHeadLightColorlights[1], lights[2], lights[3] );
    
veh:setInterior);
    
veh:setFrozentrue );
    
loaded true;
end
462. Czemu nie działają mi ba
Gdy banuje lub pbanuje gracza to nie wyrzuca go i nie daje mu bana tylko wskakuje powiadomienie i zostaje dodany do mysql zbanowanych lecz mo?e gra? na serwie i wchodzi? na niego
Prosz? o pomoc
Za rozwi?zanie problemu daje zimne piwko :piwo: :piwo: :piwo:
463. Nie mogę się rejestrować
Witam, problem polega na tym ?e wchodz?c na serwer nie mog? si? zarejestrowa?, w og?le nie chce mi dzia?a? przycisk "Rejestruj". Mog?em si? zalogowa? wcze?niej, poniewa? moje dane by?y w Bazie Danych. Gdy zrobi?em czystk? i chcia?em si? zarejestrowa? nie dzia?a?o.
Za ka?d? pomocn? odpowied? postawi? :piwo:
464. Logowanie nie działa
Witam mam problem z logowaniem w db mam taki b??d https://imgur.com/a/jYwrUfY
Wszystkie db zosta?y dobrze pod??czone w mtaserv.conf tez jest okej. Mo?e to wina tego ?e baza danych jest na localhost.
465. Skrypt na tepanie aut nie działa
Siemka, Mam problem pobra?em i wgra?em ten skrypt: https://gtao.pl/%3Cfont-colorcccc99%3Eskrypt%3C-font%3E-komendy-admina-pojazdy-vt101712.htm i jest w??czony ale komendy nie dzia?aj? ani nic jak to naprawi??
bardzo prosz? o pomoc.
466. Nie moge sie zalogowac // SS z Debugscript 3
Wszystko w SS https://imgur.com/a/AicRycM
467. Panel F1 (dxDraw) nie działa
[center]Witam, napisa?em panel F1, lecz gdy go wlaczam nie dzia?aj? ?adne elementy w cgui, za pomoc stawiam :piwo:


Kod:
[/center]
[lua]
--[[

@Autor: TheNoobisty

- Zabrania si? edytowania skryptu bez zgody jego autora -

]]--


zakladka = guiCreateLabel(0.02, 0.09, 0.71, 0.84, "", true)
local font0_normal = guiCreateFont(":pd_gui/fonts/normal.ttf", 13)
guiSetFont(zakladka, font0_normal)
guiLabelSetHorizontalAlign(zakladka, "center", false)
guiLabelSetVerticalAlign(zakladka, "center")


label = guiCreateLabel(0.02, 0.02, 0.70, 0.07, "", true)
local font1_gtav = guiCreateFont(":pd_gui/fonts/gtav.ttf", 39)
guiSetFont(label, font1_gtav)
guiLabelSetHorizontalAlign(label, "center", false)
guiLabelSetVerticalAlign(label, "center")


local screenW, screenH = guiGetScreenSize()
F1 = false

function cursorPosition(x, y, w, h)
if (not isCursorShowing()) then
return false
end
local mx, my = getCursorPosition()
local fullx, fully = guiGetScreenSize()
cursorx, cursory = mx*fullx, my*fully
if cursorx > x and cursorx < x + w and cursory > y and cursory < y + h then
return true
else
return false
end
end


-- Zakladki
Przewodnik = "Przewodnik"
Prace = "Prace"
Komendy = "Komendy"
Bindy = "Bindy"
Premium = "Premium"



local dxfont0_gtav = dxCreateFont(":pd_gui/fonts/gtav.ttf&q...
468. Nie moge dać dostęp innej randze
Chica?bym doda? jeszcze dost?p randze 3
addCommandHandler("qkx.vip",function(plr,cmd,cel,dni
    if 
exports['pystories-admins']:getAdmin(plr,4then
    
if not cel then outputChatBox("/qkx.vip [gracz] [dni]",plr) return end
    
if not dni then outputChatBox("/qkx.vip [gracz] [dni]",plr) return end
    
if not tonumber(dnithen outputChatBox("/qkx.vip [gracz] [dni]",plr) return end
        local target
=exports["pystories-core"]:findPlayer(plr,cel)
469. Chat pm nie działa i zarobki w pracy
Witam nw co jest ale komenda ./pm dzia?a dla 10 pierwszych graczy i po reconnect przestaje dzia?a tak samo zarobkami w pracach
470. Moduł nie włącza się
Cze??, mam problem dot. instalacji modu?u mta_mysql.dll. Przy pr?bie w??czenia go wyskakuje mi b??d:

Kod:

[19-08-13 10] loadmodule: Requested by Console
[19-08-13 10] MODULE: Unable to load mods/deathmatch/modules/mta_mysql.dll (/clients/s45815/mods/deathmatch/modules/mta_mysql.dll: invalid ELF header)
[19-08-13 10] loadmodule: Module failed to load
[19-08-13
10:02:20] loadmodule: Couldn't find module file

Doda?em to co trzeba by?o do mtaserver.conf.
471. Nie działa podpiecie bazy OWL
Zastosowa?em si? do poradnika gravgora lecz po wyjscu z deatchmatch nie mam zadnego x86.
Baza zosta?a podpi?ta i to nic nie zmienia, nadal jest sending.
[code]-- connection settings
local hostname = "94.23.90.14"
local username ="db_45775"
local password = "GjadushgGuadyDSGaijd"
local database = "db_45775"
local port = 3306

-- global things.
local MySQLConnection = nil
local resultPool = { }
local sqllog = false
local countqueries = 0
a
-- connectToDatabase - Internal function, to spawn a DB connection
function connectToDatabase(res)
MySQLConnection = mysql_connect(hostname, username, password, database, port)

if (not MySQLConnection) then
if (res == getThisResource()) then
cancelEvent(true, "Cannot connect to the database.")
end
return nil
end

return nil
end
addEventHandler("onResourceStart", getResourceRootElement(getThisResource()), connectToDatabase, false)

-- destroyDatabaseConnection - Internal function, kill the connection if theres one.
function destroyDatabaseConnection()
if (not MySQLConnection) then
return nil
end
mysql_close(MySQLConnection)
return nil
end
addEventHandler("onResourceStop", getResourceRootElement(getThisResource()), destroyDatabaseConnection, false)

-- do something usefull here
function logSQLError(str)
local message = str or 'N/A'
outputDebugString("MYSQL ERROR "..mysql_errno(MySQLConnection) .....
472. Panel logowania nie pokazuje miejsca do zalogowania się
Witam chce si? zalogowa? ale nie ma nigdzie linijki do wpisania loginu i hasla
dam pare kod?w bo nw jaki do tego s?u?y[lua]if getElementData(localPlayer, "player:sid") then return end

local root = getRootElement()
local resourceRoot = getResourceRootElement(getThisResource())
local screenWidth, screenHeight = guiGetScreenSize()
local screenW,screenH = guiGetScreenSize()


local blurStrength = 20


local myScreenSource = dxCreateScreenSource(screenWidth, screenHeight)
blurShader, blurTec = dxCreateShader("shaders/BlurShader.fx")


function renderblur()
if blur == true then
dxUpdateScreenSource(myScreenSource)

dxSetShaderValue(blurShader, "ScreenSource", myScreenSource);
dxSetShaderValue(blurShader, "BlurStrength", blurStrength);
dxSetShaderValue(blurShader, "UVSize", screenWidth, screenHeight);

dxDrawImage(0, 0, screenWidth, screenHeight, blurShader)
end
end
addEventHandler("onClientRender", root, renderblur)

addEventHandler("onClientResourceStop", resourceRoot,
function()
if blurShader and isElement(blurShader) then
destroyElement(blurShader)
blurShader = nil
end
end)

x,y=2513.58, 1282.80-- my width
intro_step=math.random(0,850)

local sx,sy=guiGetScreenSize()
local data={ showed=nil, button={}, info=nil, misc=nil, }

function isMouseIn(psx,psy,pssx,pssy,abx,aby)
if not isCursorShowing() then return ...
473. Panel logowania -Zapamiętaj hasło nie działa
Siema,jak mog? naprawi? ten b??d na moim serwerze? mianowicie chodzi o to ?e mam panel logowania od VastRPG i opcja zapami?taj has?o nie dzia?a bo wywala b??d taki ERROR: Client (D4nyPL triggered serverwside event AntyLost but event is not added serverside
Co robi??
Kod:
[code]
local sx,sy=guiGetScreenSize()
local data={ showed=nil, button={}, info=nil, misc=nil, }
local czcionka = dxCreateFont("font/1.ttf", 15)

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

local dist = 200
local angler = 0
function getPointFromDistanceRotation(x, y, dist, angler)
local a = math.rad(270 - angler)
local dx = math.cos(a) * dist;
local dy = math.sin(a) * dist;
return x+dx, y+dy;
end

function roundedRectangle(x, y, w, h, color)
dxDrawRectangle(x, y, w, h, color, false)
dxDrawRectangle(x + 2, y - 1, w - 4, 1, color, false)
dxDrawRectangle(x + 2, y + h, w - 4, 1, color, false)
dxDrawRectangle(x - 1, y + 2, 1, h - 4, color, false)
dxDrawRectangle(x + w, y + 2, 1, h - 4, color, false)
end

local x,y = guiGetScreenSize()
local f = x / 1024
local nY = y*f

function renderZoneBox()
if data.info then dxDrawText(data.info, sx*252/1024, sy*232/768, sx*800/1024, sy*255/768, toco...
474. Nie mogę się dodać do elity
[lua]
--[[

*** author: xScatta
*** copyright ©
*** part of psw.gamemode

]]--

-- && server-side && --


local armyranksFullName = {
"Private",
"Private First Class",
"Specialist",
"Corporal",
"Sergeant",
"Staff Sergeant",
"Sergeant First Class",
"Master Sergeant",
"First Sergeant",
"Sergeant Major",
"Command Sergeant Major",
"Sergeant Major of the Army",
"Second Lieutenant",
"First Lieutenant",
"Captain",
"Major",
"Lieutenant Colonel",
"Colonel",
"Brigadier General",
"Major General",
"Lieutenant General",
"General",
"General of the Army",
"United States General"
}

function removeHexColor(text)
text = string.gsub(text,"#%x%x%x%x%x%x", "")
return text
end

function getPlayerAdditionalRank(plr,rank)
if getElementData(plr,"data:specialtext") then
for key, value in ipairs(getElementData(plr,"data:specialtext")) do
if ( value == rank ) or ( removeHexColor(value) == rank ) then
return true
end
end
end
end

function getPlayerFromPartialName(name)
local name = name and name:gsub("#%x%x%x%x%x%x", ""):lower() or nil
if name then
for _, player in ipairs(g...
475. HP z hudu nie spada
Witam trace hp a w hudzie jest dalej 100%
[lua]function RGBToHex(red, green, blue, alpha)
if((red < 0 or red > 255 or green < 0 or green > 255 or blue < 0 or blue > 255) or (alpha and (alpha < 0 or alpha > 255))) then
return nil
end
if(alpha) then
return string.format("#%.2X%.2X%.2X%.2X", red,green,blue,alpha)
else
return string.format("#%.2X%.2X%.2X", red,green,blue)
end
end

function roundedRectangle(x, y, w, h, color)
exports["blur"]:dxDrawBluredRectangle(x, y, w, h, color, false)
exports["blur"]:dxDrawBluredRectangle(x + 2, y - 1, w - 4, 1, color, false)
exports["blur"]:dxDrawBluredRectangle(x + 2, y + h, w - 4, 1, color, false)
exports["blur"]:dxDrawBluredRectangle(x - 1, y + 2, 1, h - 4, color, false)
exports["blur"]:dxDrawBluredRectangle(x + w, y + 2, 1, h - 4, color, false)
end

local screenW, screenH = guiGetScreenSize()
local sx, sy = guiGetScreenSize()

function kursorek(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


local fps = 0
local tick = getTickCount()

function getCurrentFPS()
return fps
end

local clip_sizes = {
[22] = 17,
[23] = 17,
[23] = 7,
[25] = 1,
[2...
476. Nie działający marker
Witam mam taki problem, zrobi?em marker, kt?ry teleportuje do banku (Interior 1) ale kiedy zrobi?em marker powrotny na interior 0 (Los Santos) to ten marker nie pojawi? si? nawet w banku.
Prosz? o pomoc


//Do zamkniecia
477. Nie chce się zapisać skrypt PAWN
Witam, dzi? zainstalowa?em PAWN'a, niby wszystko dobrze, otwieram go "Failed to set data for " ", okej otworzy?em jako administrator i zacz??em robi? jaki? tam ma?y skrypt na hp, kiedy chcia?em zapisa? co? takiego mi si? pojawi?o:

C:Usersuser47Desktopserwergamemodeshape.pwn(4) : fatal error 100: cannot read from file: "zcmd"

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.

Wie kto? jak to usun???

[ Dodano: 2019-08-02, 07:07 ]
W sumie pr?bowa?em co? zrobi? z hp, prosty skrypt zeby dawa?o hp, jeden raz si? uda?o a drugi raz pisze ?e "warning 203: symbol is never used"

[ Dodano: 2019-08-02, 07:08 ]
Plus, gdy uda?o mi si? jeden raz zrobi? te hp, chcia?em wejsc, wchodze i gdy chce da? komedne pisze " unknown command"
478. Nie mozna wsiadac do aut.
Wie ktos dlaczego nie moge wsiadac do samochodu, obojetnie jakiego czy to w salonie czy do wlasnego. Paczka PYS 3.0
479. [MTA] Zmodeler nie działa podmiank
Witam, chcia?em zrobi? podmiank? admirala co? na typ offroad, doda?em mu lampy na dachu z monster trucka i zderzaki z patriota, jednak gdy exportuje ca?y pojazd nie pokazuje si? to, te cz??ci z innych aut
Czy da si? to jako? "doklei?" by dzia?a?o? Jestem nowy te? w te klocki.
A, i wszystko zapisuje jak ma by? admiral.dff
480. Nie dziala aatrudnianie sie w urzędzie Pseudolife v3
Og?lnie gdy wejd? do urz?du w lv i wejde na zatrudnienie sie w pracy to nie ma zadnej pracy a powinno by? np tunner lv i inne prosze o pomoc b?agam.