سلام عليكم شباب
عندي كود انتقال
بس لما ادخلو ما ينقلني على المكان الثاني الي انا احدده
mar2 = createMarker (1452.3000488281,-1048.0999755859,214.39999389648, "arrow", 1, 248, 233, 6, 170 )
Team = 'Police'
Group = 'SWAT'
addEventHandler("onMarkerHit", mar2,
function ( playern )
if ( getElementType(playern) == "player" ) then
if ( theTeam and theTeam == getTeamFromName(Team) and theGroup and theGroup == Group ) then
setElementPosition ( playern,1427.29834,-1071.66785,26.71771)
end
end
end)