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

Wysłany: 2021-08-27, 19:26


favosky







Wiek: 32
Na forum: 1752 dni
Posty: 5

Piwa: 1

Respekt: 50

Witam bardzo serdecznie pobra?em walute z internetu, lecz przy logowaniu ta waluta si? wy?wietla nie wiem co mam zrobi? prosz? o pomoc daje piwko :D

Kod waluty:



Kod:

--[[

]]--

local czcionka = dxCreateFont("a/RobotoCondensed-Bold.ttf", 24)
if not czcionka then czcionka = "default" end

local screenW, screenH = guiGetScreenSize()

addEventHandler("onClientRender", root, function()
local hajs = string.format("%08d", getPlayerMoney(getLocalPlayer()))
showPlayerHudComponent("money", false)
dxDrawText("PLN "..hajs, (screenW * 0.7758) - 2, (screenH * 0.2070) - 2, (screenW * 0.9531) - 2, (screenH * 0.2904) - 2, tocolor(0, 0, 0, 255), 1.20, czcionka, "center", "center", false, false, false, false, false)
dxDrawText("PLN "..hajs, (screenW * 0.7758) + 2, (screenH * 0.2070) - 2, (screenW * 0.9531) + 2, (screenH * 0.2904) - 2, tocolor(0, 0, 0, 255), 1.20, czcionka, "center", "center", false, false, false, false, false)
dxDrawText("PLN "..hajs, (screenW * 0.7758) - 2, (screenH * 0.2070) + 2, (screenW * 0.9531) - 2, (screenH * 0.2904) + 2, tocolor(0, 0, 0, 255), 1.20, czcionka, "center", "center", false, false, false, false, false)
dxDrawText("PLN "..hajs, (screenW * 0.7758) + 2, (screenH * 0.2070) + 2, (screenW * 0.9531) + 2, (screenH * 0.2904) + 2, tocolor(0, 0, 0, 255), 1.20, czcionka, "center", "center", false, false, false, false, false)
dxDrawText("PLN "..hajs, screenW * 0.7758, screenH * 0.2070, screenW * 0.9531, screenH * 0.2904, tocolor(0, 110, 0, 255), 1.20, czcionka, "center", "center", false, false, false, false, false)
end)


Postaw piwo autorowi tego posta
 

 
Wysłany: 2021-08-27, 19:28


NotPaladyn







Wiek: 23
Na forum: 2790 dni
Posty: 866
Nick w MP: NotPaladyn

Piwa: 3135

Respekt: 690
Respekt: 690Respekt: 690


   Vice Admin: Jeśli potrzebujesz pomocy w sprawach organizacyjnych lub technicznych - skontaktuj się ze mną.
Zapewne bazujesz na pysie, wi?c podmie? kod na ten

W tagach code
Kod:


--[[

]]--

local czcionka = dxCreateFont("a/RobotoCondensed-Bold.ttf", 24)
if not czcionka then czcionka = "default" end

local screenW, screenH = guiGetScreenSize()

addEventHandler("onClientRender", root, function()
if not getElementData(localPlayer, "player:logged") then return end
local hajs = string.format("%08d", getPlayerMoney(getLocalPlayer()))
showPlayerHudComponent("money", false)
dxDrawText("PLN "..hajs, (screenW * 0.7758) - 2, (screenH * 0.2070) - 2, (screenW * 0.9531) - 2, (screenH * 0.2904) - 2, tocolor(0, 0, 0, 255), 1.20, czcionka, "center", "center", false, false, false, false, false)
dxDrawText("PLN "..hajs, (screenW * 0.7758) + 2, (screenH * 0.2070) - 2, (screenW * 0.9531) + 2, (screenH * 0.2904) - 2, tocolor(0, 0, 0, 255), 1.20, czcionka, "center", "center", false, false, false, false, false)
dxDrawText("PLN "..hajs, (screenW * 0.7758) - 2, (screenH * 0.2070) + 2, (screenW * 0.9531) - 2, (screenH * 0.2904) + 2, tocolor(0, 0, 0, 255), 1.20, czcionka, "center", "center", false, false, false, false, false)
dxDrawText("PLN "..hajs, (screenW * 0.7758) + 2, (screenH * 0.2070) + 2, (screenW * 0.9531) + 2, (screenH * 0.2904) + 2, tocolor(0, 0, 0, 255), 1.20, czcionka, "center", "center", false, false, false, false, false)
dxDrawText("PLN "..hajs, screenW * 0.7758, screenH * 0.2070, screenW * 0.9531, screenH * 0.2904, tocolor(0, 110, 0, 255), 1.20, czcionka, "center", "center", false, false, false, false, false)
end)


W tagach lua
--[[

]]--

local czcionka dxCreateFont("a/RobotoCondensed-Bold.ttf"24)
if not czcionka then czcionka "default" end

local screenWscreenH guiGetScreenSize()

addEventHandler("onClientRender"root, function()
if not getElementData(localPlayer"player:logged"then return end
local hajs string.format("%08d"getPlayerMoney(getLocalPlayer()))
showPlayerHudComponent("money"false)
dxDrawText("PLN "..hajs, (screenW 0.7758) - 2, (screenH 0.2070) - 2, (screenW 0.9531) - 2, (screenH 0.2904) - 2tocolor(000255), 1.20czcionka"center""center"falsefalsefalsefalsefalse)
dxDrawText("PLN "..hajs, (screenW 0.7758) + 2, (screenH 0.2070) - 2, (screenW 0.9531) + 2, (screenH 0.2904) - 2tocolor(000255), 1.20czcionka"center""center"falsefalsefalsefalsefalse)
dxDrawText("PLN "..hajs, (screenW 0.7758) - 2, (screenH 0.2070) + 2, (screenW 0.9531) - 2, (screenH 0.2904) + 2tocolor(000255), 1.20czcionka"center""center"falsefalsefalsefalsefalse)
dxDrawText("PLN "..hajs, (screenW 0.7758) + 2, (screenH 0.2070) + 2, (screenW 0.9531) + 2, (screenH 0.2904) + 2tocolor(000255), 1.20czcionka"center""center"falsefalsefalsefalsefalse)
dxDrawText("PLN "..hajsscreenW 0.7758screenH 0.2070screenW 0.9531screenH 0.2904tocolor(01100255), 1.20czcionka"center""center"falsefalsefalsefalsefalse)
end)


Postaw piwo autorowi tego posta
 

 
Wysłany: 2021-08-27, 19:31


favosky







Wiek: 32
Na forum: 1752 dni
Posty: 5

Piwa: 1

Respekt: 50

Podmieni?em lecz teraz wogule nie wida? waluty (Nie bazuje na pysie)

Postaw piwo autorowi tego posta
 

 
Wysłany: 2021-08-27, 20:46


NotPaladyn







Wiek: 23
Na forum: 2790 dni
Posty: 866
Nick w MP: NotPaladyn

Piwa: 3135

Respekt: 690
Respekt: 690Respekt: 690


   Vice Admin: Jeśli potrzebujesz pomocy w sprawach organizacyjnych lub technicznych - skontaktuj się ze mną.
Podmie? elementdate na tak? jak? masz przy logowaniu gracza na serwerze

Postaw piwo autorowi tego posta
 

 
Wysłany: 2021-08-28, 02:22


killercycDDS

Migacz






Wiek: 25
Na forum: 4512 dni
Posty: 629
Nick w MP: killer_cyc[DDS]

Piwa: 1659

Respekt: 22

NotPaladyn, raczej tak powinno by? zamiast logged daj player:sid czyli
 
--[[





]]--





local czcionka dxCreateFont("a/RobotoCondensed-Bold.ttf"24)


if not czcionka then czcionka "default" end





local screenWscreenH guiGetScreenSize()





addEventHandler("onClientRender"root, function()


if not getElementData(localPlayer"player:sid"then return end


local hajs string.format("%08d"getPlayerMoney(getLocalPlayer()))


showPlayerHudComponent("money"false)


dxDrawText("PLN "..hajs, (screenW 0.7758) - 2, (screenH 0.2070) - 2, (screenW 0.9531) - 2, (screenH 0.2904) - 2tocolor(000255), 1.20czcionka"center""center"falsefalsefalsefalsefalse)


dxDrawText("PLN "..hajs, (screenW 0.7758) + 2, (screenH 0.2070) - 2, (screenW 0.9531) + 2, (screenH 0.2904) - 2tocolor(000255), 1.20czcionka"center""center"falsefalsefalsefalsefalse)


dxDrawText("PLN "..hajs, (screenW 0.7758) - 2, (screenH 0.2070) + 2, (screenW 0.9531) - 2, (screenH 0.2904) + 2tocolor(000255), 1.20czcionka"center""center"falsefalsefalsefalsefalse)


dxDrawText("PLN "..hajs, (screenW 0.7758) + 2, (screenH 0.2070) + 2, (screenW 0.9531) + 2, (screenH 0.2904) + 2tocolor(000255), 1.20czcionka"center""center"falsefalsefalsefalsefalse)


dxDrawText("PLN "..hajsscreenW 0.7758screenH 0.2070screenW 0.9531screenH 0.2904tocolor(01100255), 1.20czcionka"center""center"falsefalsefalsefalsefalse)


end)


Postaw piwo autorowi tego posta
 

 
Wysłany: 2021-08-28, 02:24


NotPaladyn







Wiek: 23
Na forum: 2790 dni
Posty: 866
Nick w MP: NotPaladyn

Piwa: 3135

Respekt: 690
Respekt: 690Respekt: 690


   Vice Admin: Jeśli potrzebujesz pomocy w sprawach organizacyjnych lub technicznych - skontaktuj się ze mną.
killercycDDS, napisa? ?e nie bazuje na pysie, wi?c niech zmieni na elementdate jak? ma nadawan? przy zalogowaniu si? na serwer.
Chyba, ?e jeste? jasnowidzem i wiesz jak? paczk? u?ywa

Postaw piwo autorowi tego posta
 

 
Wysłany: 2021-08-28, 02:30


killercycDDS

Migacz






Wiek: 25
Na forum: 4512 dni
Posty: 629
Nick w MP: killer_cyc[DDS]

Piwa: 1659

Respekt: 22

NotPaladyn, 90 % paczek na gtao to pys :D i mog? wywnioskowa? te? poniek?d z tematu bo osoba u?ywaj?ca innej paczki ni? pys, xyzyrp wie co i jak :D oczywi?cie mog? si? te? myli? :D

Komentarz NotPaladyn dodany 2021-08-28, 02:35Niestety tego raczej nigdy się nie dowiemy, możemy tylko zgadywać ;)
Postaw piwo autorowi tego posta
 

 
Wysłany: 2021-08-28, 23:29


favosky







Wiek: 32
Na forum: 1752 dni
Posty: 5

Piwa: 1

Respekt: 50

@NotPaladan Dzi?kuje za pomoc dzia?a

Postaw piwo autorowi tego posta
 

 
Więcej szczegółów
Wystawiono 1 piw(a):
NotPaladyn
Tagi: hud :: przy :: logowaniu
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