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: rubryka
1. if rubryka == kod then
Witam jestem w ob??dzie gdy? nie wiem dlaczego nie dziala mi kod wszystko ?adnie opisane mam nadziej? na pomoc z strony innych graczy tej gierki.
-- po wejsciu w marker
Kod:

kod = kody[rnd]
rubryka = guiCreateEdit(860*px, 529*py, 213*px, 54*py, "", false)
guiEditSetMaxLength(rubryka, 5)
guiSetAlpha(rubryka,0)

--po wpisaniu kodu w rybryke ( i to nie dzia?a)
Kod:

function wait_security (el, md)
if el ~= localPlayer and md then return end
if rubryka == kod then
removeEventHandler("onClientRender", root, kody_gui)
showCursor(false)
showChat(true)
setPedAnimation ( localPlayer, "CARRY", "crry_prtial", 1,true )
local skrzynia = createObject(1271, 0, 0, 0)
attachElements ( skrzynia, localPlayer, 0, 0.8, 0.5)
setElementCollisionsEnabled(skrzynia, false)
end
end


no i przed funckj? wait_security mamy klikni?cie wywo?uj?ce funkcje bez if rubryka == kod wszystko dzia?a.