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: dorywcza.
1. Praca dorywcza.
Witam was. Juz pisalem to wczesniej ale nikt nie pomogl. Chodzi mi aby markery i blipy byly robione dla jednej osoby
[color=orange]server : [/color]
[lua]
marker = createMarker (-208.78,1221.14,19.0,"cylinder",1.0,0,200,0,255)
ped = createPed (16,-208.82,1220.29,19.89)

function zresp ( player )
local auto = createVehicle (552,-194.61,1224.06,19.43,359.1,0.0,180.2)
setElementData ( auto, "pojazd_paliwo", 50 )
setElementData ( auto, "pojazd_opis", "Praca dorywcza - ?atanie dziur " )
warpPedIntoVehicle ( player , auto, 0 )
outputChatBox (" ",player,0,200,0)
outputChatBox ("Praca dorywcza - ?atanie dziur ",player,0,200,0)
outputChatBox (" ",player,0,200,0)
end
addEventHandler ("onMarkerHit",marker,zresp)

local punkty = {
{-171.24487304688, 1096.1301269531, 19.606197357178},
{30.913167953491, 1119.8073730469, 19.623331069946},
{-91.321762084961, 1200.033203125, 19.619775772095},
{-112.26300811768, 1169.1364746094, 19.603679656982},
{-187.25840759277, 1025.6124267578, 19.60319519043},
{-218.66180419922, 1003.6341552734, 19.698823928833},
{-294.93395996094, 1064.3399658203, 19.611391067505},
{-343.91772460938, 1122.2767333984, 19.606252670288},
{-340.33258056641, 1167.6424560547, 19.738605499268},
}

function markery (player)
local pkt = punkty[math.random(1, #punkty)]
marker = createMarker(pkt[1], pkt[2], pkt[3], "checkpoint",2.0, 123, 225, 56, 1...