جرب..؟
setTimer(outputChatBox,600000,0,'ماركر الانتقال بدأ',root,255,255,0,true)
local markerCH = createMarker( 1465.0999755859, -1009.9000244141, 27.5, "arrow", 1.4, 255, 255, 255, 255 );
STAT = true
addEventHandler( "onPlayerMarkerHit", root,
function( marker )
if marker == markerCH and not isPedInVehicle( source ) then
local Team = getPlayerTeam( source );
if Team and getTeamName( Team ) == '1111' then
if STAT == true then
setElementInterior( source, 3, 388.87133789063, 173.80432128906, 1008.5832519531 );
setElementDimension( source, 15 );
STAT = false
else
outputChatBox('المهمه لم تبدا',source,255,255,0,true)
STAT = nil
end
end
end
end
);
setTimer(function()
STAT = true
end,1000,0
)
setTimer(function()
STAT = false
end,1000
)