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: kurier
1. Praca Kurier
Witam chcialbym zrobic prace kuriera od ilosci srp 2000 praca kurier pomoze ktos
c.lua
[lua]
pracaKuriera = createMarker( 2151.162, -2257.165, 13.343, "cylinder", 1 )
createBlipAttachedTo( pracaKuriera, 46, 2, 255, 255, 255, 255, 0, 250 )
text = createElement( "text" )
setElementPosition( text, 2151.162, -2257.165, 13.343 )
setElementData( text, "name", "Praca kurieranBranie paczkinZarobki: 45$ za paczkenWymagania: Kat C" )

veh = nil
niesiePaczke = false
oddawaniePaczki = nil
pracuje = false
oddanychPaczek = 0
wyciaganiePaczki = nil
wrocDoBazy = nil

x, y, z = 0, 0, 0

spawny = {
{2159.747, -2280.643, 13.439, 0.109, 0.013, 224.075}, -- 498 - Boxville
{2167.25, -2273.982, 13.45, 0.126, 0.036, 222.366}, -- 498 - Boxville
{2174.383, -2266.406, 13.459, 0.183, 0.026, 222.634}, -- 498 - Boxville
}

punkty = {
{2014.728, -1732.693, 14.234, 0, 0, 84.83},
{989.462, -1349.562, 13.377, 0, 0, 266.753},
{948.028, -1234.762, 16.716, 0, 0, 65.027},
{969.978, -1115.562, 23.857, 0, 0, 107.631},
{829.255, -861.336, 69.922, 0, 0, 204.335},
{937.551, -848.108, 93.675, 0, 0, 25.262},
{944.109, -706.326, 122.211, 0, 0, 28.819},
{785.61, -825.977, 70.29, 0, 0, 8.986},
{2011.183, -1643.589, 13.547, 0, 0, 112.41},
{2072.727, -1645.702, 13.547, 0, 0, 251.283},
{2326.929, -1915.344, 13.593, 0, 0, 53.434},
{1930.972, -1778.792, 13.547, 0, 0, 226.775},
{1730.517, -1912.169, 13.563, 0, 0, 91.146},
{1726.268, -...
2. [MAPA] Kurier Los Santos
Witam, z tej strony PiaTTeK. Chcia?bym wam przedstawi? moj? drug? wykonan? map?. Mianowicie jest to kurier. My?l?, ?e wam si? spodoba. U?y?em jednej podmianki mianowicie s?upki, kt?r? zamie?ci?em w folderze.


Zdj?cia:





[center]
Ukryta wiadomość / Hidden message(aby ją zobaczyć musisz postawić użytkownikowi)
Wiadomość została ukryta, aby ją przeczytać należy się zalogować.
3. Kurier - wywala db3
Witam, tak jak w temacie, wraz z koleg? postanowili?my napisa? prac? kuriera aczkolwiek, wywala b??d.
ckurier.lua:22: '}' expected (to close '{' at line 20) near '{'
linijka 22:
miejscadostaw = {
{
2446.34619, -1661.4429913.30469"cylinder"3,1820120}
{
2457.66260, -1671.6178013.49978"cylinder"3,1820120}
{
2457.66260, -1671.6178013.49978"cylinder"3,1820120}
}
4. kurier
mam problem z prac? kuriera powiem, ze ta praca to jest orginalna wersja np kupion?.
kod lua [lua]--[[
Autor: Malentas
]]

local sx, sy = guiGetScreenSize()
local okno1 = false
local niesie = false
local ulepszenia = false
local alpha = 250
local ile = 0
local trasa = " "

local oddanie = {}
local oddanieped = {}
local boddanie = {}

local pracodawca = createPed(153, 1042.48, -1444.91, 23.18, 59.347457885742)
setElementData(pracodawca, "name", "Pracodawca")
setElementDimension(pracodawca, 15)
setElementFrozen(pracodawca, true)
local rozpoczecie = createMarker(1040.02, -1444.11, 23.18-.95, "cylinder", 1, 255, 255, 255)
setElementData(rozpoczecie, "praca", true)
setElementDimension(rozpoczecie, 15)


addEventHandler("onClientMarkerHit", rozpoczecie, function(gracz)
if gracz ~= localPlayer then return end
if getElementData(localPlayer, "block:prawko") then exports["np-notyfikacje"]:noti("Posiadasz zabrane prawo jazdy kat. A, B, C", "error") return end
if getElementData(localPlayer, "pracuje") then
if getElementData(localPlayer, "pracuje") ~= "kurier" then exports["np-notyfikacje"]:noti("Posiadasz inn? aktywn? prace!", "error") return end
end
addEventHandler("onClientRender", root, guistart)
okno1 = true
showCursor(true)
triggerSe...
5. Praca dorywcza - kurier
Witam! Napisa?em prac? dorywcz? kuriera, lecz niestety nie dzia?a, po wej?ciu na serwer odrazu pojawia si? gui roz?adunku, a po wej?ciu w markery nic si? nie dzieje. Za pomoc = :piwo:

Kod klient:[lua]function info(tekst)
exports.msgboxrpg:showBox("info",tekst)
end

markerPracy = createMarker ( 750.4638671875,-1335.3283691406,13.538581848145,"cylinder",1.2,255,255,255 )
blipPracy = createBlip ( 750.4638671875,-1335.3283691406,13.538581848145, 51 )

--Funkcja wyswietlenia GUI zaladunku
function wyswietlGUI()
addEventHandler ( "onClientMarkerHit", markerPracy, function(hitPlayer)
if source ~= marker and element ~= getLocalPlayer() then return end
guiSetVisible ( kurierOkno, true )
showCursor ( true )
end)
end

--Przyjecie i odmowienie pracy
addEventHandler ( "onClientGUIClick", anuluj, function()
guiSetVisible(kurierOkno,false)
showCursor(false)
end)

addEventHandler ( "onClientGUIClick", podejmij, function()
guiSetVisible(kurierOkno,false)
showCursor(false)
celBlip = createBlip ( 2801.4165039063, -1087.7769775391, 30.721715927124, 41 )
celMarker = createMarker ( 2801.4165039063, -1087.7769775391, 30.721715927124, "cylinder", 1.5, 255, 255, 0, 170 )
info("Punkt celu oznaczony zosta? na mapie, dowie? tam paczki kt?re zosta?y ci za?adowane.")
end)

--Gui Zaladunku
kurierOkno = guiCreateTab("Praca Dorywcza - Kurier Poczty santos")
kurierTlo = guiCreateTabPanel(451, 234...