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: fukcnki
1. dodanie fukcnki
Wi?c tak, mam problem.
W skrypcie ?adnie pieknie.
Bior? tack? z jedzeniem i chc? ?eby przy wyj?ciu z budynku (gdy wchodzisz w marker kt?ry cie teleportuje na zewn?trz) znika?a tacka (obiekt) marker, oraz blip.

Kod:
[code]local praca = createMarker(212.89999389648, -184.5, -22, 'cylinder', 1, 135, 124, 119)
local blip = createBlip(212.89999389648, -184.5, -22, 10)
local miejscakelner = {

{204, -199.30000305176, -21.10000038147},
{215.19999694824, -199.5, -21.10000038147},
{212.30000305176, -198.80000305176, -21.10000038147},
{215.30000305176, -196.19999694824, -21.10000038147},
{212.39999389648, -195.19999694824, -21.10000038147},
{208.60000610352, -195.39999389648, -21.10000038147},
{212.39999389648, -189.19999694824, -21.10000038147},
{215.30000305176, -190.19999694824, -21},

}

addEventHandler("onClientMarkerHit", praca, function(el, md)
if not md or getElementType(el) ~= "player" then return end
if el ~= localPlayer then return end
outputChatBox("* Zarobki pracy: 99 $ za tac?")
outputChatBox("* Aby rozpocz?? prac? wci?nij 'E'")
end)


bindKey("e", "down", function()
if not isElementWithinMarker(localPlayer, praca) then return end
if not getElementData(localPlayer, "gracz_praca") then
outputChatBox("* Bierzesz tac?")
skrzynia = createObject(2814, 0, 0, 0, 0, 0, 0)
attachElem...