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: znika
1. Po dopisaniu 1 nazwy do radaru owy radar znika
Wi?c zaczne od pocz?tku.
Postanowi?em przerobi? pewien radar(z gps-em) z brazylijskiego forum
Wi?c grafiki pozmienia?em i wzi??em si? za dodawanie nazw do blip?w
Podczas dodawania nazw do pierwszych kilku blip?w(11) wszystko dzia?a?o jak nale?y lecz jak chce doda? kolejn? nazw? (pr?bowa?em z innymi nazwami/blipami ale jest to samo)to radar automatycznie znika

tak wygl?da kod z nazwami z przerobionego pliku :
[code]local s = {guiGetScreenSize()}
local radarS = {s[1]-400, s[2]-200}
local radarP = {s[1]/2-radarS[1]/2, s[2]/2-radarS[2]/2}
local vizSzin = tocolor(110, 158, 204,255)
local nagymap
local radarM = {3072,3072}
local blipMeret = {20,20}
local jatekosMeret = {12,12}
local zoom = 2
local minZoom = 1
local maxZoom = 2
local zoomRadio = 0.05
local mozgatAdat = {0,0}
local honnanMozgat = {0,0}
local chatetRejtett = false
utiBlip = nil

gpsPontok = {}
radarMegjelenitve = false -- Ha ez igaz akkor a minimapot nem rendereli


addEventHandler( "onClientResourceStart", getRootElement( ),
function ( resource )
if resource ~= getThisResource() then return end
-- R?gi radar t?rl?se
toggleControl("radar", true)
nagymap=dxCreateRenderTarget(radarS[1], radarS[2],false)
radar=dxCreateRenderTarget(radarS[1], radarS[2],false)
setPlayerHudComponentVisible("radar",false)
end
);

addEventHandler("onClientKey", getRootElement(), function(gomb, statusz)
if(gomb == "F11" and sta...
2. Trylogia GTA znika z cyfrowej dystrybucji!

GTA: The Trilogy

Kliknij, aby powiększyć.

Pi?tkowa zapowied? GTA: The Trilogy - The Definitive Edition wywo?a?a oburzenie - za spraw? tego, ?e Rockstar rozpocz??o wycofywanie trylogii sk?adaj?cej si? na III, Vice City, San Andreas z pierwszych rynk?w, by "zrobi? miejsce" od?wie?onym odpowiednikom. Grand Theft Auto: The Trilogy nie jest ju? dost?pne w krajach takich jak: Australia, Azja oraz na Bliskim Wschodzie, wkr?tce "zmiany" maj? nadej?? tak?e w Europie. Niebawem mo?emy spodziewa? si?, ?e b?dziemy mogli si?gn?? wy??cznie po Grand Theft Auto: The Trilogy - Definitive Edition. Wed?ug plotek od?wie?ony pakiet mimo niewielkiej liczbie zmian jak? tw?rcy chc? zaimplementowa? w The Definitive Edition, ceny w sklepach internetowych, kt?re ju? oferuj? mo?liwo?? z?o?enia przedpremierowego zam?wienia wydaj? si? bardzo wysokie.

Kliknij, aby powiększyć.



Zr?d?o: klik
3. jeśli wyjdę z pojazdu to znika
Witam, co zrobi?, ?e je?li wyjdzie si? z pojazdu to on znika. Stawiam zimnie piwo.

addEvent
("JazdaProbna"true)
addEventHandler("JazdaProbna"root, function(graczp)
    
local shape cuboid(gracz)
    if 
not shape then return end
    local veh 
getElementData(shape"salon")
    if 
not veh then return end
    local model 
getElementModel(veh)
        
pojazdd createVehicle(model1338.43, -858.8439.030.02.3180.0)
        
exports["w_noti"]:noti("Rozpocz?…?‚e?› jazde prĂłbn?…."source
    
warpPedIntoVehicle(graczpojazdd)
    
setTimer(function(gracz)
        
destroyElement(pojazdd)
        
setElementPosition(gracz1338.43, -858.8439.03)
        
end350001gracz)

end)


edit: r?wnie? jak kto? by pom?g?, ?eby by?y one bez kolizji.
4. stary hud nie znika
Witam czy wie kto? mo?e jak usun?? domy?lny hud z mta poniewa? dodaje nowy i po w??czeniu skryptu lub restarcie wszystko jest ok ale po zrobieniu reconnect hudy nak?adaj? si? na siebie nawzajem to samo dzieje si? po odpaleniu i wyj?ciu z dashborda pod f5 z g?ry dzi?ki za pomoc postawie piwko! :piwo:
5. hud nie znika
Nada?em hud'owi elementdate "hud" po wci?ni?ciu f2 powinnen znika? lecz nie znika

[lua]--last edit

local sx, sy = guiGetScreenSize()
setPlayerHudComponentVisible("all", false)
setPlayerHudComponentVisible("radar", true)

function sw(value)
return sx*value/1920
end

function sh(value)
return sy*value/1080
end

setElementData(localPlayer, "hud", true)
local font = dxCreateFont("gtav.ttf", sw(20))
local font2 = dxCreateFont("normal.ttf", sw(14))
local pos={
server = { x = 2700, y = -525, w = 825, h = 627},
imgHud = { x = 0, y = 0, w = 1920, h = 1080},
imgKolo = { x = 0, y = 0, w = 115, h = 115}
}
local images={
hud = dxCreateTexture('img/hud.png', 'argb', false, 'clamp'),
pasek = dxCreateTexture('img/pasek.png', 'argb', false, 'clamp'),
kolo = dxCreateTexture(':rn_avatars/kolo.png', 'argb', false, 'clamp'),
}


function render()
local player={
name = getPlayerName(localPlayer),
money = przecinek(getElementData(localPlayer, "player:money") or 0)
}

dxDrawImage(sw(pos["imgHud"].x), sh(pos["imgHud"].y), sw(pos["imgHud"].w), sh(pos["imgHud"].h), images.hud, 0, 0, 0, tocolor(255,255,255,200), false)
dxDrawImage(sw(pos["imgHud"].x), sh(pos["imgHud"].y), sw(pos["imgHud"].w), sh(pos["imgHud"].h), images.pasek,...
6. IsMouseInPosition Znika obrazek
Witam po klikni?ciu w dane miejsce powinno si? wy?wietli? zdj?cie na ekranie lecz to zdj?cie si? nie wy?wietla tylko mignie na sekund? i si? wy??czy wie kto? mo?e o co chodzi ?



    addEventHandler
("onClientClick"root, function(btn,state)
    if 
btn=="left" and state=="down" then
    local x_6
y_6 getCenter(515, -530)
    if 
isMouseIn(x_6y_6515/zoom530/zoomthen
    destroyElement
(texture_1
    
local x_7y_7 getCenter(19201080)
    
dxDrawImage(x_7y_71920/zoom1080/zoomtexture_7000tocolor(255255255255), false)
    
    
end
    end
    end
)






local texture_7 
dxCreateTexture('img/2panel.png','argb',true,'clamp')


a to jest b??d kt?ry uda?o mi si? namierzy w DB3 https://imgur.com/a/TsHG6nA



124
--         dxDrawImage(x_1y_11920/zoom1080/zoomtexture_1000tocolor(255255255255), false)

7. czemu nie znika pięść i pasek zdrowia
jak w temacie
https://imgur.com/a/99urFmp


po resecie skryptu znika normalnie ta reszta

[ Dodano: 2020-06-12, 12:09 ]
Dobra jednak naprawi?em warto zrobi? to jako onClientRender i zreturn endowa? gdy gracz nie jest zalogowany dla tych kt?rym si? to mo?e przyda? :D
8. Pojawia się na chwile i znika
Kod:


bindKey("lshift", "both", function(key,state)
if getPedOccupiedVehicle ( localPlayer ) and getPedOccupiedVehicleSeat( localPlayer ) == 0 then
if state == "down" then
interakcja(true)
pokazinterakcje = true
setElementData(localPlayer,"wybor",1)
elseif state == "up" then
interakcja(false)
pokazinterakcje = false
end
end
end)
9. Mute po reconnect znika
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...
10. Czemu znika dxDrawText?
Jak zrobi? aby wy?wietla?a si? informacja o ?le wprowadzonym loginie i ha?le przez 5 s?


addEventHandler("onClientClick"root, function(btn,state)
    
local login guiGetText(gui.login)
    
local pass guiGetText(gui.pass)
    if 
guiGetVisible(gui.login) and guiGetVisible(gui.passthen
        
if btn == "left" and state == "up" then
            
if isMouseInPosition(0*w590*h428*w64*hthen
                triggerServerEvent
("tryLogin"resourceRootloginpass)
            elseif 
isMouseInPosition(0*w655*h428*w64*hthen
                
if #login >= 3 and #pass >= 3 then
                    
triggerServerEvent("tryRegister"resourceRootloginpass)
                 else
                    
dxDrawText("Login i/lub has?o musz? mie? minimalnie 3 znaki!"0*w730*h839*w225*htocolor(255255255255), 1.00font"center""center"falsefalsefalsefalsefalse)
                    --
outputChatBox("* Login i/lub has?o musz? mie? minimalnie 3 znaki!")
                
end
            end
        end
    end
end
)
11. hud nie znika
Tak jak w temacie hud nie znika w logowaniu
[lua]if getElementData(localPlayer, "player:sid") then return end

local root = getRootElement()
local resourceRoot = getResourceRootElement(getThisResource())
local screenWidth, screenHeight = 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) 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 end
cx,cy=getCursorPosition()
cx,cy=cx*sx,cy*sy
if cx >= psx and cx <= psx+pssx and cy >= psy and cy <= psy+pssy t...
12. znika radar
Witam zwracam si? z pro?b? poniewa? na serwerze u mnie wyst?pi? b??d mianowicie: kiedy si? wbija na serwer i si? respi na spawnie nie wida? radaru trzeba wej?? wtedy do interioru jakiego? i radar si? pojawi (bardzo utrudnia to rozgrywke) wi?c kto? by m?g? pom?c ? za pomoc Piwo.
13. Pobieranie zasobów nie znika
Witam mam problem z przerobieniem pobierania zasob?w z new place ot?? to jak pobior? sie zasoby skrypt nie znika oto kod ( za pomoc daje piwko ):

[lua]
--[[
Autor: Sralentas xD
]]

local sx, sy = guiGetScreenSize()
local font = dxCreateFont("cz.ttf", 13)
local kropki = 0

addEventHandler("onClientResourceStart", resourceRoot, function()
if getElementData(localPlayer, "dbid") then return end
if isEventHandlerAdded("onClientRender", gui) then return end
addEventHandler("onClientRender", root, gui)
showChat(false)
showPlayerHudComponent("all", false)
muza = playSound("muzyka.mp3")
end)

addEvent("usunPobieranie", true)
addEventHandler("usunPobieranie", root, function()
removeEventHandler("onClientRender", root, gui)
stopSound(muza)
end)

function gui()
kropki = kropki + 1 > 60 and 0 or kropki + 1
if kropki == 1 then
l = "."
elseif kropki == 20 then
l = ".."
elseif kropki == 40 then
l = "..."
end
dxDrawImage(0, 0, sx, sy, "grafiki/bg.png", 0, 0, 0, tocolor(255, 255, 255, 255), false)
dxDrawImage(scale_x(499), scale_y(25), scale_x(442), scale_y(270), "grafiki/logo.png", 0, 0, 0, tocolor(255, 255, 255, 255), false)
if muza then
local bit = getSoundFFTData(muza, 2048, 3)
fo...
14. Nie znika auto jak zakończysz prace
Siema tutaj macie kod za pomoc postawie piwo

addEventHandler("onClientVehicleExit"resourceRoot, function(plr,seat)
    if 
seat~=0 then return end
    
if plr~=localPlayer then return end
    finishJob
(plrtrue,true)
    
destroyElement(kontenerxdxd)
    
setElementData(plr,"player:job",false)
    
outputChatBox("* Zako?czy?e?(a?) prac?."25500)
end)

addEventHandler("onClientVehicleExplode"resourceRoot, function()
    if 
getElementModel(source) ~= 578 then return end
    local plr
=getVehicleController(source)
    if 
plr~=localPlayer then return end
    finishJob
(plrtrue,true)
    
destroyElement(kontenerxdxd)
    
setElementData(plr,"player:job",false)
    
outputChatBox("* Zako?czy?e?(a?) prac?."25500)
end)
15. Torba która zle znika
Witam all . Mam pytanie odno?nie tego ?e jak kto? wyjdzie z graczy to torba znika , nie wiem dlaczego , naprawicie mi to ?


function pacholek(localPlayer)
if 
getElementData (localPlayer,"frakcja") == "PR" then
        pacholekk 
createObject(12100,0,0,0,0,0)
        
attachElements(pacholekklocalPlayer0.2,-0.09,-0.3,0,0,90)
        
end
    end
addCommandHandler
("torba",pacholek)

function 
usuntorbe(localPlayer)
    
destroyElement(pacholekk,localPlayer)
end
addCommandHandler
("usuntorbe",usuntorbe)

function 
postaw (localPlayer)
        
detachElements(pacholekklocalPlayer)
end
addCommandHandler
("postawtorbe",postaw)

addEventHandler "onPlayerQuit",getRootElement(), function(source)
        
destroyElement(pacholekk,source)
end)
16. Znika Radar w Interiorze
Witam mam problem, Kiedy wchodze w marker i teleportuje mnie do interiora znika mi radar i nie pojawia sie znowu. Trzeba reconnectnac zeby znowu go widziec.


Cytat:

local m = createMarker(2244.38,-1665.56,15.48, "arrow", 1.2, 255, 255, 10, 100)
local b = createBlipAttachedTo(m, 45, 2, 255,0,0,255,0,400)

local m2 = createMarker(207.65, -111.27, 1005.80, "arrow", 1.2, 255, 255, 10, 1000)
setElementInterior(m2, 15)
setElementDimension(m2, 3)

addEventHandler("onMarkerHit", m, function(el,md)
setElementInterior(el, 15)
setElementDimension(el, 3)
setElementPosition(el, 207.737991,-109.019996,1005.132812)
end)

addEventHandler("onMarkerHit", m2, function(el,md)
setElementInterior(el, 0)
setElementDimension(el, 0)
setElementPosition(el, 2245.46,-1661.93,15.47)
end)

-- Co? innego
addEvent("changeSkin", true)
addEventHandler("changeSkin", root, function(model)
setElementModel(source, model)
setElementData(source, "gracz_ubranie", model)
end)
17. Nie znika gui
Po nacisnieciu tego buttona nie znika gui , pomuszcie .

function podmien()
            if 
isElementWithinMarker(localPlayermarkerthen
            dff 
engineLoadDFF "qbz951.dff"355 )
            
engineReplaceModel dff355 )
            
txd engineLoadTXD "qbz951.txd" )
            
engineImportTXD txd355 )
            
guiSetVisible(napadfalse)
            
showCursor(false)
    
end
end
addEventHandler
("onClientGUIClick"buttakpodmien,false)
18. Pojawia sie i znika
Mam proble, mam kod:
function sendError msg )
    if ( 
not guiGetVisible window ) ) then
        dxDrawText 
"B??D"pX+200pY+270506368tocolor(25500255), 1"bankgothic""left""top"falsefalsefalsefalsefalse)
        
setTimer 7002)
    
end
end

Problem jest w tym, ?e napis pojawia sie na u?amek sekundy i znika, jak to zrobic zeby znika? po 10s?
19. Nie znika text

local text 
nil
function pasek()
local screenWscreenH guiGetScreenSize()

        
dxDrawRectangle(screenW 0.3047screenH 0.9049screenW 0.3969screenH 0.0951tocolor(222202), false)
end



addEvent 
("praca_start"true)
addEventHandler ("praca_start"root,
function ( )
setTimer(setElementFrozen,50,1,getLocalPlayer(),true)
outputChatBox("Zarzuci?e? w?dke!",255,255,255)
outputChatBox("?owisz..")
triggerServerEvent ("Animka"rootlocalPlayer)

setTimer(function()
guiSetVisible (textfalse)
setElementFrozen(getLocalPlayer(),false)
removeEventHandler("onClientRender"rootpasek)
triggerServerEvent ("givemoney"rootlocalPlayer)
setPedAnimation(getLocalPlayer(),false)
end49001)
setTimer(function()
local text guiCreateLabel(0.430.950.160.03"Z?owi?e? "..ryby.."i zarobi?e? na niej 8 RUB"true)

addEventHandler("onClientRender"rootpasek)
end35001)
end


Mam problem bo jak z?owie rybe pokazuje sie i pasek znika po czasie ale text zostaje ? co zrobic?
20. Znika paliwo auta przy respawnie pojazdu jego
Witam problem wygl?da nast?puj?co

Po zarejestrowaniu si? na serwerze, wpisaniu komendy /v (Komenda na prywatne pojazdy), po zespawnowaniu tira znika mu totalnie paliwo do 0, nie wiem co na to poradzic :D

Pozdrawiam i czekam na pomoc
21. hud znika po włączeniu skryptu
Witajcie, napisa?em skrypt na panel logowania na m?j serwer.
Wszystko dzia?a dzia?a dobrze, do momentu gdy w??cz? jaki? inny skrypt.
Po w??czeniu oboj?tnie jakiego skryptu ca?e hud znika i pokazuje si? tylko kursor i nie mo?na nic zrobi?.


[lua]
Server.lua

addEvent("sprobujZalogowac",true)
addEvent("sprobujZarejstrowac",true)

addEventHandler("onClientResourceStart",root,
function()
local gt = setGameType()
setGameType("BestLife")
local time = getRealTime()
end
)

addEventHandler("sprobujZalogowac",root,
function(login,passw)
if getAccount(login) then
local acc = getAccount(login,passw)
if acc then
logIn(source,acc,passw)
else
triggerClientEvent(source,"onClientWrongLogin",root,"Podano z?e has?o!")
end
else
triggerClientEvent(source,"onClientWrongLogin",root,"Podano z?y login!")
end
end
)

addEventHandler("onPlayerLogin",root,
function()
setCameraTarget(source,source)
showChat(source,true)
showCursor(source,false)
spawnPlayer(source, -1966.9000244141, 890.79998779297, 42.099998474121, 0.0, 0)
setPlayerHudComponentVisible(source,"all",false)
triggerClientEvent(source,"onClientLoginSuccess",root)
end
)

[/lua]


[lua]

client.lua

addEvent("onClientWrongLogin",true)
addEvent("onClientLoginSuccess",true)

local screenW, screenH = gu...
22. Znika marker
M?j problem jest taki ?e zrobi?em prace dorywcza i jak gracz wejdzie w marker zacznie prace to cel si? pojawia ka?demu i jak dwoch graczy pracuje to jak jeden wejdzie w cel to drugiemu znika jak zrobi? to>
23. [INNE] Serwer znika z zakładki Internet
Witam.
Z g?ry przepraszam, je?eli jest to z?y dzia?, ale nie wiedzia?em gdzie opisa? m?j problem.
Ot?? posiadam serwer na hostingu ServHost.pl. Dot?d, wszystko by?o w porz?dku, ale w pewnym momencie, serwer znikn?? z zak?adki Internet. Administracja hostowni rozk?ada r?ce s?dz?c, ?e to nie ich wina. Za?o?y?em drugi taki sam serwer, r?wnie? na ServHost, ale i ten nie pojawi? si? w zak?adce. By? mo?e wszystko dzia?a na wersji 0.3x, jednak mi chodzi o wszystkie starsze. Pr?bowa?em na innym gamemodzie, nawet na podstawowych typu LvDm. W dniu wczorajszym zrestartowa?em serwer, i pojawi? si? o dziwo w zak?adce na jaki? czas, jednak ju? dzisiaj go tam nie by?o. Nie wiem kompletnie co robi?. Z g?ry dzi?kuj?, pozdrawiam.
24. Pojazd znika po wyjsciu
Witajcie.

Jak zrobi? co? takiego ?e jak gracz wysi?dzie z pojazdu, to on zniknie ? Wiem ?e co? z "onplayerexit" co? takiego, ale jak to zrobi? ?

Pozdrawiam.
25. Nie znika GUI
Okienko GUI po wci?ni?ciu nie chce znikn?? (chowa si? tylko kursor) i nie ma reakcji na przycisk Rejestracja.
CLIENT:
[code]GUIEditor = {
label = {},
edit ={}
}

function sprawdzLogowanie(button)
if button == "left" then
local login = guiGetText(GUIEditor.edit[1])
local haslo = guiGetText(GUIEditor.edit[2])
triggerServerEvent("sprawdzHaslo", localPlayer, localPlayer, login, haslo)
end
end

function sprawdzRejestracja(buttonR)
if buttonR == "left" then
local loginR = guiGetText(GUIEditor.edit[1])
local hasloR = guiGetText(GUIEdtior.edit[2])
triggerServerEvent("sprawdzRejestracje", localPlayer, localPlayer, loginR, hasloR)
outputChatBox("reje trigger")
end
end

function pokazLogowanie()
windowL = guiCreateWindow(150, 169, 996, 417, "Panel Logowania", false)
guiWindowSetMovable(windowL, false)
guiWindowSetSizable(windowL, false)
buttonL = guiCreateButton(823, 341, 153, 66, "Zaloguj", false, windowL)
buttonR = guiCreateButton(19, 341, 153, 66, "Rejestracja", false, windowL)
GUIEditor.edit[1] = guiCreateEdit(532, 193, 228, 26, "", false, windowL)
GUIEditor.edit[2] = guiCreateEdit(532, 235, 228, 26, "", false, windowL)
GUIEditor.label[1] = guiCreateLabel(485, 200, 37, 19, "Login:", false, windowL)
GUIEditor.label[2] = guiCr...
26. Text nie znika
Witam, mam problem ze skryptem poni?ej:
addEventHandler("onPlayerJoin"getRootElement(),
function()
    
textDisplay textCreateDisplay()
    
textDisplayAddObserver(textDisplaysource)
    
textServerName textCreateTextItem("Best FreeRoam + DM"0.30.05 )
    
textDisplayAddText(textDisplaytextServerName)
    
addEventHandler("onResourceStart"getRootElement,
    function()
        
textDisplayRemoveText(textDisplaytextServerName)
        
textDestroyTextItem(textServerName)
        
textDestroyDisplay(textDisplay)
    
end
    
)
end
)


Chodzi mi o to, ?eby po pobraniu si? zasob?w, znika? text, a on nie znika.
27. [INNE] GUI znika przy naciśnięciu Loguj...
No witam panowie a wi?c mam problem z rejestracj? ale tu chodzi bardziej o GUI a wi?c jak wejd? na serwer i si? zarejestruje wszystko ?adnie pi?knie chodzi i jak wyjd? z serwera i wejd? jeszcze raz do pokazuje mi si? GUI to logowania a wi?c wpisuje has?o i naciskam Loguj i GUI znika i nic nie pisze czy zalogowa?em si? poprawnie itp jak ju? wybior? skin to na chacie nie mog? pisa? bo mam zablokowane i tak ca?y czas...

[code]if(dialogid == DIALOG_LOGIN)
{
if(response == 1)
{
if(strcmp(inputtext, DOF2_GetString(FileStats(playerid), "Haslo")) || !strlen(inputtext))
{
ShowPlayerDialog(playerid,7,1,"Logowanie","Witaj ponownie na Serwerze!nnAby rozpoczac gre musisz sie zalogowacnaby to zrobic, podaj swoje haslo:","Loguj","Anuluj");
SendClientMessage(playerid, COLOR_RED2, "Podane has?o dla tego konta jest nieprawid?owe.");

SetPVarInt(playerid, "ZleHaslo", GetPVarInt(playerid, "ZleHaslo") + 1);

if(GetPVarInt(playerid, "ZleHaslo") == 3)
{
SendClientMessage(playerid, COLOR_RED2, "*** Wykorzysta?e? 3/3 pr?by logowania!");
Kick(playerid);
}
else
{
new String[128];
format(String, sizeof(String), "{ffcc00}Podano b??dne has?o.n{1E90FF}Pozosta?o pr?b wpisania has?a: %d", 3 - GetPV...
28. [GF] Licznik znika
Witam! Ot?? mam dziwny b??d.

A dok?adniej wpisze sobie komend? :

/veh info

to licznik mi si? pojawia na 5sek i wy??cza si? (znika)
Jak zrobi? ,aby licznik po wej?ciu do pojazdu ci?gle si? wy?wietla? ?

Kod :
[code]CMD:veh(playerid, params[])
{
if(isnull(params)) return GuiInfo(playerid,"/veh [info/zaparkuj]");
if(!strcmp(params, "info", true))
{
if(GetPVarInt(playerid, "info") == 0)
{
TextDrawShowForPlayer(playerid,Licznik[playerid]);
SetTimerEx("silniczek", 2000, 0, "u", playerid);
}
else
{
TextDrawShowForPlayer(playerid,Licznik[playerid]);
SetTimerEx("silniczek", 2000, 0, "u", playerid);
}
}
else if(!strcmp(params, "zaparkuj", true))
{
{
new veh=GetPlayerVehicleID(playerid);
if(!IsPlayerInAnyVehicle(playerid)) return 1;
if(SamochodInfo[veh][sTyp]==1&&PlayerInfo[playerid][pLider]==SamochodInfo[veh][sTypID])
{
for(new nr = 1; nr < LIMIT_POJAZDOW; nr++)
{
if(SamochodInfo[nr][sAktywny] && nr!=veh)
{
if(DoInRange(4,playerid,SamochodInfo[nr][sSpawnX],SamochodInfo[veh][sSpawnY],SamochodInfo[veh][sSpawnZ]))
{
GuiInfo(playerid,"Inny pojazd jest ju? w tym miejscu zaparkowany!");
return 1;
}
}
}
SamochodInfo[veh][sInt]=GetPlayerInterior(play...