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: jakis
1. jakis end
bindKey("mouse1""down", function()
    if 
not getElementData(localPlayer"gui:prezencik") or getElementData(localPlayer"gui:prezencik") ~= true then return end
        
if isMouseIn(404*px447*py632*px485*pythen
            
if getElementData(localPlayer"prezencik"then outputChatBox("Odebra?e? ju? sw?j prezent"25500) return end
                money 
givePlayerMoney(25)
                
outputChatBox("Odbierasz prezent w wysoko?ci ..money.."02550)
                
showCursor(false)
                
setElementData(localPlayer"gui:prezencik"nil)
                
setElementData(localPlayer"prezencik"true)
            
end
        end
    end

     
if isMouseIn(404*px495*py632*px533*pythen
        
if getElementData(localPlayer"prezencik"then
            setElementData
(localPlayer"prezencik"nil
            
outputChatBox("zzzzzz"255,0,0)
            
showCursor(false)
            
setElementData(localPlayer"gui:prezencik"nil)
        else
            
showCursor(false)
            
setElementData(localPlayer"gui:prezencik"nil)
        
end
    end
end 


Wed?ug mta brakuje endu
https://media.discordapp.net/attachments/842322501455314974/920605705285820446/unknown.png
2. Jakis blaud w kodzie.
Witam, gdy zmienilem kwote zaplaty w "Pracy lekarza" z GTAO, to otrzymuje ten error;
[code][2018-02-10 09:01:35] SCRIPT ERROR: [prace]/Pracalekarza/s.lua:33: name> or '...' expected near '50000'
[2018-02-10 09:01:35] ERROR: Loading script failed: [prace]/Pracalekarza/s.lua:33: name> or '...' expected near '50000'[/code]

Moglby mi to ktos poprawic i powiedziec o co z Tym chodzi? Z gory dzieki.

[lua]mbn = createMarker(-1094.6458740234,-1638.8903808594,69.807327270508,"cylinder",1.4,255,0,0)

addEventHandler("onMarkerHit",mbn,function(plr)
setElementData(plr, "lekarz", true)
setElementModel(plr, 70)
outputChatBox("Rozpocz?to prace",plr,255,255,255)
end)


start = createMarker(-1107.0804443359,-1642.5798339844,69.800003051758,"cylinder", 1.4, 255,255,255)

--b = createBlipAttachedTo(mbn, 56)

function t(he)
if getElementType(he) == "player" then
if getElementData(he, "lekarz") then
triggerClientEvent(he, "o?pen", he)
end
end
end
addEventHandler("onMarkerHit",start, t)

function t2(he)
if getElementType(he) == "player" then
triggerClientEvent(he, "klose", he)
end
end
addEventHandler("onMarkerLeave",start, t2)



addEvent("forsa",true)
addEventHandler("forsa", root,function(50000))
if not tonumber(kwota) then return end
givePlayerMoney(source, 50000)
end)[/l...
3. Mam Jakis Zbugowany Hud
Cze?? , mam hud z easy life ale jedna rzecz kt?ra mi nie pasuje to jest to ?e pokazuje sie hud z normalnego gta sa Tu jest screenshot : https://imgur.com/a/JLlgi



Btw , nie wiedzia?em gdzie napisa? posta XD
4. Kasa co jakis czas !
Witam mam tu taki kod ale on nie dziala
function(thePlayer)
local accName getAccountName getPlayerAccount thePlayer ) ) 
     if 
isObjectInACLGroup ("user."..accNameaclGetGroup "Premium" ) ) then
     setTimer
(function()
            
outputChatBox("Dostales 200$ za czas gry.",thePlayer,0,255,0
            
givePlayerMoney(thePlayer,200)
        
end,1000,1)    
    
end
end
5. [INNE] Co jakis czas gracze nie umią biegać
Mam taki problem a dok?adnie co jaki? czas gracze nie umi? biega? (nie idzie tego inaczej wyt?umaczy?)

Gdy my patrzymy na gracza to to wygl?da jagby biega? ale mia? lagi i wolniej biega?.

Dodam jeszcze ze relog nie pomaga tylko restart serwera.

Czego to mo?e by? wina? wiecie mo?e jak to naprawi? ?

nie chodzi mi o bieganie z gta ze po jakim? czasie si? meczymy !
tylko ju? po wej?ciu na serwer si? tak dzieje.
6. [INNE] Sprawdzanie czy gracz jest jakis obok mnie ?
Witam,

Jak sprawdzic czy jakis gracz jest obok mnie tak do 5 metrow, ale chodzi mi aby sprawdzalo czy jakis gracz bo jak robie na petle dla all graczy to mnie tez tam wsadza a chce aby mnie nie bylo bo robie ze jak gracze sa obok mnie to daje im po minigunie :) Wiec prosze o odpowiedz.