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: widze
1. [MTA] Nie widzę mapy pod F11, jedy
Tak jak /, nie widz? dr?g itp. jedynie blipy. Prosz? o pomoc ;)
2. Nie widzę markera 2
elo znowu mam problem , pastonowi?em zrobi? nowy skrypt i now? lokalizacje markera , na db3 nic nie pokazuje .Nie widze markera .
[lua]
addEventHandler("onClientResourceStart", root, function()
napad = guiCreateWindow(415, 222, 543, 390, "", false)
guiWindowSetSizable(napad, false)
buy = guiCreateButton(38, 108, 105, 33, "Ak47", false, napad)
end)

local marker = createMarker(2295.04639, -1686.69812, 13.62975, "cylinder")

addEventHandler("onClientMarkerHit", marker,
function(hitElement, md)
if hitElement ~= localPlayer then return end
if not md then return end
if source ~= marker then return end
guiSetVisible(napad, true)
showCursor(true, false)
end)

function getElementsWithinMarker(marker)
if (not isElement(marker) or getElementType(marker) ~= "marker") then
return false
end
local markerColShape = getElementColShape(marker)
local elements = getElementsWithinColShape(markerColShape)
return elements
end

function podmien()
if source == buttak then
if isElementWithinMarker(localPlayer, marker) then
dff = engineLoadDFF ( "ak47.dff", 355 )
engineReplaceModel ( dff, 355 )
txd = engineLoadTXD ( "ak47.txd" )
engineImportTXD ( txd, 355 )
if guiGetVisible(napad) == true then
guiSetVisible(napad, false)
...
3. nie widze buttona
nie widz? buttona , pomuszcie , widz? 2 ale nie widze 3 .
pierw caly kod :
[lua]
addEventHandler("onClientResourceStart", root, function()
napad = guiCreateWindow(438, 185, 467, 306, "Potwied? Napad na Bank", false)
guiSetVisible(napad, false)
guiWindowSetSizable(napad, false)
guiSetAlpha(napad, 0.58)
guiSetProperty(napad, "CaptionColour", "FFFEFEFE")
buttak = guiCreateButton(568, 321, 77, 30, "Ak 47", false, napad)
buttonEmpty = guiCreateButton(194, 129, 15, 15, "", false, napad)
buttonAccept = guiCreateButton(20, 233, 119, 52, "Akceptuj?", false, napad)
buttonRefuse = guiCreateButton(317, 234, 140, 61, "Odrzu?", false, napad)
end)

local marker = createMarker(1821.38318, -1683.33215, 13.38281 , "cylinder", 1, 255, 0, 0)

addEventHandler("onClientMarkerHit", marker,
function(hitElement, md)
if hitElement ~= localPlayer then return end
if not md then return end
guiSetVisible(napad, true)
showCursor(true, false)
end)

addEventHandler("onClientGUIClick", root, function(btn, state)
if btn == "left" and state == "up" then
if source == buttonRefuse then
guiSetVisible(napad, false)
showCursor(false)
end
end
end)

function getElementsWithinMarker(marker)
if (not isElement(marker) or getElementType(marker) ~= "marker") then
...
4. Nie widzę markera
nie widz? markera w kt?rym wy?wietla si? GUI , wiem i znam pozycje markera , bo sam je ustala?em . My?l? ,?e gdzie? jest drobny b??d i nie potrafi?go znale??.
[lua]

addEventHandler("onClientResourceStart", root, function()
napad = guiCreateWindow(438, 185, 467, 306, "Potwied? Napad na Bank", false)
guiSetVisible(napad, false)
guiWindowSetSizable(napad, false)
guiSetAlpha(napad, 0.58)
guiSetProperty(napad, "CaptionColour", "FFFEFEFE")
buttak = guiCreateButton(568, 321, 77, 30, "Ak 47", false, napad)
buttonEmpty = guiCreateButton(194, 129, 15, 15, "", false, napad)
buttonAccept = guiCreateButton(20, 233, 119, 52, "Akceptuj?", false, napad)
buttonRefuse = guiCreateButton(317, 234, 140, 61, "Odrzu?", false, napad)
end)

local marker = createMarker(1821.38318, -1683.33215, 13.38281 , "cylinder")

addEventHandler("onClientMarkerHit", marker,
function(hitElement, md)
if hitElement ~= localPlayer then return end
if not md then return end
if source ~= marker then return end
guiSetVisible(napad, true)
showCursor(true, false)
end)

addEventHandler("onClientGUIClick", root, function(btn, state)
if btn == "left" and state == "up" then
if source == buttonRefuse then
guiSetVisible(napad, false)
showCursor(false)
end
end
end)

function getElemen...
5. [INNE] Nie widze tekstur
Witam , dzi? zrobi?em swoje obiekty i doda?em je do mapki na konwertorze przerobilem je na create object i wszed?em na serwer ale nic z tego ;/ musze bardzo blisko podej?? ?eby je widzie?