Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.

Wysłany: 2021-12-15, 10:32


Nexusovskyy

Autorski Projekt






Wiek: 23
Na forum: 3105 dni
Posty: 49
Nick w MP: Nexusovskyy

Piwa: 743

Respekt: 60

bindKey("mouse1", "down", function()
    if not getElementData(localPlayer, "gui:prezencik") or getElementData(localPlayer, "gui:prezencik") ~= true then return end
        if isMouseIn(404*px, 447*py, 632*px, 485*py) then
            if getElementData(localPlayer, "prezencik") then outputChatBox("Odebra?e? ju? sw?j prezent", 255, 0, 0) return end
                money = givePlayerMoney(25)
                outputChatBox("Odbierasz prezent w wysoko?ci ..money..", 0, 255, 0)
                showCursor(false)
                setElementData(localPlayer, "gui:prezencik", nil)
                setElementData(localPlayer, "prezencik", true)
            end
        end
    end

     if isMouseIn(404*px, 495*py, 632*px, 533*py) then
        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

Postaw piwo autorowi tego posta
 

 
Wysłany: 2021-12-15, 11:14


_jvneczek







Wiek: 22
Na forum: 4467 dni
Posty: 1509
Nick w MP: _jvneczek

Piwa: 3960

Respekt: 337,5
Respekt: 337,5Respekt: 337,5Respekt: 337,5


bindKey("mouse1", "down", function()
    if not getElementData(localPlayer, "gui:prezencik") or getElementData(localPlayer, "gui:prezencik") ~= true then return end
        if isMouseIn(404*px, 447*py, 632*px, 485*py) then
            if getElementData(localPlayer, "prezencik") then outputChatBox("Odebra?e? ju? sw?j prezent", 255, 0, 0) return end
                money = givePlayerMoney(25)
                outputChatBox("Odbierasz prezent w wysoko?ci ..money..", 0, 255, 0)
                showCursor(false)
                setElementData(localPlayer, "gui:prezencik", nil)
                setElementData(localPlayer, "prezencik", true)
            end
        elseif isMouseIn(404*px, 495*py, 632*px, 533*py) then
            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)


Postaw piwo autorowi tego posta
 

 
Wysłany: 2021-12-15, 11:25


Nexusovskyy

Autorski Projekt






Wiek: 23
Na forum: 3105 dni
Posty: 49
Nick w MP: Nexusovskyy

Piwa: 743

Respekt: 60

nwzn
del

Postaw piwo autorowi tego posta
 

 
Tagi: jakis :: end
Anonymous





Na forum: 245 dni
Posty: 1



Anonymous Koniecznie zajrzyj na:






Skocz do:  
Wyświetl posty z ostatnich:   
GTAONLINE.PL » JĘZYKI PROGRAMOWANIA » LUA Ten temat jest zablokowany bez możliwości zmiany postów lub pisania odpowiedzi

Nie możesz pisać nowych tematów
Nie możesz odpowiadać w tematach
Nie możesz zmieniać swoich postów
Nie możesz usuwać swoich postów
Nie możesz głosować w ankietach
Dodaj temat do Ulubionych
Wersja do druku