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: marker2
1. Marker2
elo , mam problem , gdy? jak jest 2 graczy w markerze t oich nie teleportuje , pomo?ecie ?
function getElementsWithinMarker(marker)
    if (
not isElement(marker) or getElementType(marker) ~= "marker"then
        
return false
    end
    local markerColShape 
getElementColShape(marker)
    
local elements getElementsWithinColShape(markerColShape"player")
    return 
elements
end
local marker 
createMarker(1821.38318, -1683.3321513.38281 "cylinder"
local elementy getElementsWithinMarker(marker)
if 
#elementy==2 then -- tutaj da?em 2 poniewa? ma tepa? 2 graczy na raz i ?eby nie tepa?o tylko 1 gracza 
setElementPosition(elementy,2143.238041547.5225810.82031)
end