Jump to content

طلب


Adham

Recommended Posts

سلام عليكم

مسوي لما يخش مركر

يجيب الشاشه سودا

المشكله :

ان

لما يخش لمركر يجي شاشه سودا

بعد م يخش المحل

انا ابيه قبل م يخش

addEventHandler ( "onClientMarkerHit", EnterBank,
function ( hitPlayer )
                      if hitPlayer == localPlayer and not isPedInVehicle( hitPlayer ) then 
                       fadeCamera( false )
                      setElementInterior ( hitPlayer, 3, 386.28336, 174.05826, 1008.38281 )
                      setTimer( fadeCamera, 1500, 1, true )
          end
     end
)

Link to comment

لين يخش المركر يجي شاشه سودا والشاشه السودا تختفي ويخش علي المحل فهمت علي ؟

والكود الفوق

ذا

لين اخش المركر

يخش علي المحل

بعدين يجي شاشه سودا وتختفي

انا ابيه لما يخش ع المركر علطول

Link to comment
addEventHandler ( "onClientMarkerHit", EnterBank,
function ( hitPlayer )
                      if hitPlayer == localPlayer and not isPedInVehicle( hitPlayer ) then 
                       fadeCamera( false )
           setTimer( fadeCamera, 1500, 1, true ) 
      setElementInterior ( hitPlayer, 3, 386.28336, 174.05826, 1008.38281 )
          end
     end
)

مدري ، جرب

Link to comment
function WarpToBank (player)
  setElementInterior ( player, 3, 386.28336, 174.05826, 1008.38281 )
  fadeCamera( true )
end 

addEventHandler ( "onClientMarkerHit", EnterBank,
function ( player )
                      if player == localPlayer and not isPedInVehicle( player ) then 
                       fadeCamera( false )
           setTimer( WarpToBank,player, 1500, 1 ) 
          end
     end
)

جربه !

Link to comment

 

addEventHandler ( 'onMarkerHit' , aMarker ,
function ( aPlayer )
    if ( getElementType ( aPlayer ) == 'player' and not isPedInVehicle ( aPlayer ) ) then 
      fadeCamera ( aPlayer , false )
      setTimer ( function ( aPlayer )
          fadeCamera ( aPlayer , true ) 
          setElementInterior ( aPlayer , 3, 386.283 , 174.058, 1008.382 )
          end , 5000 , 1 , aPlayer )
      end
end )

خله سيرفر

 

 

  • Like 1
Link to comment

لما اخش المركر م يخش شي

local am = createMarker ( 1481.05750, -1772.31396, 20.51637-0.59, "arrow", 2.0, 2, 255, 48, 170 )

addEventHandler ( 'onMarkerHit' , am,
function ( aPlayer )
    if ( getElementType ( aPlayer ) == 'player' and not isPedInVehicle ( aPlayer ) ) then 
      fadeCamera ( aPlayer , false )
      setTimer ( function ( aPlayer )
          fadeCamera ( aPlayer , true ) 
          setElementInterior ( aPlayer , 3, 386.283 , 174.058, 1008.382 )
          end , 5000 , 1 , aPlayer )
      end
end )

 

Link to comment
4 minutes ago, Deativated said:

لما اخش المركر م يخش شي


local am = createMarker ( 1481.05750, -1772.31396, 20.51637-0.59, "arrow", 2.0, 2, 255, 48, 170 )

addEventHandler ( 'onMarkerHit' , am,
function ( aPlayer )
    if ( getElementType ( aPlayer ) == 'player' and not isPedInVehicle ( aPlayer ) ) then 
      fadeCamera ( aPlayer , false )
      setTimer ( function ( aPlayer )
          fadeCamera ( aPlayer , true ) 
          setElementInterior ( aPlayer , 3, 386.283 , 174.058, 1008.382 )
          end , 5000 , 1 , aPlayer )
      end
end )

 

خليته سيرفر ؟

  • Like 1
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...