Cze??. Mam problem z moj? prac?. ot?? wszyscy widz? markery nawet jak nie sa zatrudnieni w pracy i moge w nie wchodzi? i zalicza im punkt jak tego unikn???
[lua]local marker = createMarker(414.10, 2533.15, 19.15-0.9, "cylinder", 1, 0, 0, 0, 95)
function start(hitElement, player, dimension)
if getElementType(hitElement) == "player" then
if isElement(source) and source == marker then
setElementData(player,"pilot",true)
dodo = createVehicle(593, 411.30, 2504.05, 17, 0, 0, 90); warpPedIntoVehicle(hitElement, dodo)
marker2 = createMarker(201.45, 2503.73, 54.64, "ring", 10, 255, 0, 0, 95, player)
outputChatBox("Rozpocz??e? prac? pilota", player)
outputChatBox("Aby zako?czy? prac? wpisz /koniecpilot", player)
outputChatBox("Pami?taj nie ko?cz pracy b?da? w powietrzu, poniewa? zaczniesz spada?", player)
elseif isElement(source) and source == marker2 then
destroyElement(marker2)
marker3 = createMarker(-19.59, 2503.04, 79.78, "ring", 10, 255, 0, 0, 95, player)
elseif isElement(source) and source == marker3 then
destroyElement(marker3)
marker4 = createMarker(-201.90, 2474.05, 89.08, "ring", 10, 255, 0, 0, 95, player)
elseif isElement(source) and source == marker4 then
destroyElement(marker4)
marker5 =... |