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: ruletka
1. ruletka bank hajs
pomo?e ktos zrobi? ?eby hajs na postawienie beta i za wina dawa?o do banku? daje piwko za pomoc prosze :)
s.lua
[lua]
wysokibetinfo = 50000
tabela={}

-- tworzenie listy
for i=1,6 do
table.insert(tabela,{0,0,200,0,"zielone","x12"})
table.insert(tabela,{1,255,0,0,"czerwone","x2"})
table.insert(tabela,{2,0,0,0,"czarne","x2"})
table.insert(tabela,{3,255,0,0,"czerwone","x2"})
table.insert(tabela,{4,0,0,0,"czarne","x2"})
table.insert(tabela,{5,255,0,0,"czerwone","x2"})
table.insert(tabela,{6,0,0,0,"czarne","x2"})
table.insert(tabela,{7,255,0,0,"czerwone","x2"})
table.insert(tabela,{8,0,0,0,"czarne","x2"})
table.insert(tabela,{9,255,0,0,"czerwone","x2"})
table.insert(tabela,{10,0,0,0,"czarne","x2"})
table.insert(tabela,{11,255,0,0,"czerwone","x2"})
table.insert(tabela,{12,0,0,0,"czarne","x2"})
table.insert(tabela,{13,255,0,0,"czerwone","x2"})
table.insert(tabela,{14,0,0,0,"czarne","x2"})
end -- do listy

betyr={}
betyb={}
betyg={}

----outputChatBox("wylosowales = "..tabela[random][1].." "..tabela[random][5].."$ ( "..random.." okienko )")

function infowygrana (osoba,kolor,ilosc)
if ilosc >= wysokibetinfo then
...
2. Ruletka
Cze??, przychodz? do Was z ruletk?. Czy jest mo?liwo?? aby pieni?dze z wygranej lecia?y od razu do bankomatu, a nie do kieszeni. A drugie pytanie to, czy mo?na gra? pieni?dzmi z bankomatu a nie kieszeni :/

c.lua
[lua]local sx,sy = guiGetScreenSize()
local xres,yres = (sx/1920), (sy/1080)
local font = dxCreateFont("archivo_narrow.ttf", 18)

tabela={}

local sw,sh = guiGetScreenSize()

show = false


function showgui( hitPlayer, matchingDimension )
if getElementData ( source, "kasynomarker") then
if hitPlayer == localPlayer then
show = true
guiSetVisible ( edit, true )
showCursor ( true, false)
end
end
end
addEventHandler ( "onClientMarkerHit", getRootElement(), showgui)

function hidegui (leavingPlayer)
if getElementData ( source, "kasynomarker") then
if leavingPlayer == localPlayer then
show = false
guiSetVisible ( edit, false)
showCursor ( false )
end
end
end
addEventHandler ( "onClientMarkerLeave", getRootElement(), hidegui )

function isMouseInPosition(x, y, w, h)
if not isCursorShowing() then return end

local mouse = {getCursorPosition()}
local myX, myY = (mouse[1] * sw), (mouse[2] * sh)
if (myX >= x and myX <= (x + w)) and (myY >= y and myY <= (y + h)) then
return true
end

return false
end


local click = false
function onClick(x, y, w, h, called)
if(isMouseInPosition(x, y, w, h) and not clic...