Jump to content

Napis przy pobieraniu plików.


Recommended Posts

Cześć! Ostatnio sobie chodziłem po serwerach i widziałem poprostu napis podczas pobierania plików. Wrzuciłem do siebie na serwer i wywaliłem wszystko z resources, wchodze na serwer i nic mi się nie wyświetla.

Kod(client-side):

function checkTransfer() 
    if isTransferBoxActive() == true then 
        dxCos(source) 
        setTimer(checkTransfer,2000,1) 
    else 
        fadeCamera(true) 
    end 
end 
addEventHandler("onPlayerJoin",resourceRoot,checkTransfer) 
  
function dxCos() 
    dxDrawText("Gdy już się pobiorą zostaniesz przeniesiony/a do okna logowania.", 83, 273, 1278, 319, tocolor(255, 255, 255, 255), 3, "default-bold", "left", "top", false, false, true, false, false) 
    dxDrawText("Aktualnie są pobierane wszystkie zasoby serwera.", 231, 185, 1138, 229, tocolor(255, 255, 255, 255), 3, "default-bold", "left", "top", false, false, true, false, false) 
    dxDrawText("Witaj na (tu jest nazwa serwera)!!", 413, 91, 948, 133, tocolor(255, 0, 0, 255), 3, "default-bold", "center", "center", false, false, true, false, false) 
    dxDrawText("Dziękujemy za wybranie akurat nas.", 78, 336, 728, 382, tocolor(255, 255, 255, 255), 3, "default-bold", "left", "top", false, false, true, false, false) 
    dxDrawText("Ekipa serwera (tu jest nazwa serwera).", 738, 471, 1355, 520, tocolor(255, 255, 255, 255), 3, "default-bold", "left", "top", false, false, true, false, false) 
end 
addEventHandler("onClientPreRender", root, dxCos) 

EDIT: Trochę mi pomógł Mefisto_PL lecz tekst się wyświetla po pobraniu, nie podczas pobierania ;/

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...