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: sekundach
1. Usuwanie pontonu po 60 sekundach
Witam, mam skrypt na prace.. Jest to praca Nurka.. Ale niestety nie potrafie zrobic usuniecia pojazdu po 60 sekundach. Tzn. pojazd usuwa mi od razu po wyjsciu, a ja chce aby usuwalo go po 60 sekunach A oto kody:
client:
[code]--[[
Praca StreetView
Skrypt wykonal: Nikodem S. (NoKill)
]]--
local text=createElement("text")
local districtsBus = {
{-2184.58,-2356.55,30.47},
{-2169.67,-2340.81,30.47},
{-2158.11,-2325.75,30.47},
{-2160.49,-2306.73,30.47},
{-2192.00,-2281.82,30.47},
{-2265.60,-2220.81,30.32},
{-2165.55,-2150.53,50.96},
{-2082.33,-2017.06,61.91},
{-1991.33,-1864.71,41.40},
{-1831.20,-1733.15,29.12},
{-1663.72,-1639.33,36.26},
{-1541.88,-1588.72,37.73},
{-1718.37,-1481.05,34.49},
{-1903.30,-1375.03,40.13},
{-1901.91,-1339.67,40.34},
{-1897.04,-1262.76,39.48},
{-1821.43,-1212.52,38.46},
{-1872.41,-1154.33,29.95},
{-1968.87,-1140.94,29.85},
{-1986.16,-1026.65,32.02},
{-1971.44,-1006.86,32.02},
{-1948.94,-1008.65,32.02},
{-1949.56,-1064.47,31.64},
{ -1949.97,-1084.40,30.77},

}

addEvent("givePlayerMoney", true)
addEventHandler("givePlayerMoney", resourceRoot, function()
givePlayerMoney (localPlayer, 2)
end)

local jobTarget
local jobMarker
local jobVehicle
local maxTarget = #districtsBus

function finishJob()
if jobMarker and isElement(jobMarker) then
destroyElement(jobMarker)
jobMarker = nil
e...