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: lickach
1. Markery w lickach L, H
Witam mam problem z markerami odno?nie chcia?bym by dla L i H by?y ustawione Ringi a dla A B C checkpoint [code]function finishLicense(value)
if isElement(licenseMarker) and licenseMarker then
destroyElement(licenseMarker)
licenseMarker=nil
end
if isElement(licenseBlip) and licenseBlip then
destroyElement(licenseBlip)
licenseBlip=nil
end
if value == true then
licenseCategory=nil
licenseVehicle=nil
licenseMarker=nil
licenseTarget=nil
licenseBlip=nil
end
end
addEvent("license:finish",true)
addEventHandler("license:finish", resourceRoot, finishLicense)

function showMarker()
local pos=categoryPositions[licenseCategory][licenseTarget]
if licenseCategory ~= "L, H" then
licenseMarker=createMarker(pos[1], pos[2], pos[3], "ring", 3, 0, 0, 255, 155)
else
licenseMarker=createMarker(pos[1], pos[2], pos[3], "checkpoint", 2, 43, 154, 211, 255)
end
licenseBlip=createBlip(pos[1], pos[2], pos[3], 0, 1, 255, 0, 0)
if categoryPositions[licenseCategory][licenseTarget+1] then
e=categoryPositions[licenseCategory][licenseTarget+1]
setMarkerTarget(licenseMarker, e[1], e[2], e[3])
end
addEventHandler("onClientMarkerHit", licenseMarker, function(el,md)
if not md or el~=localPlayer then return end
if not getPedOccupiedVehicle(el) then return end
if licenseTarget < #categoryPositions[licenseCategory] then
local sound=playSound(":ogrpg-misc/misc...