Jump to content

تعديل


Adham

Recommended Posts

سلأم عليكم

سويت اول م يخش علي مركر يخش علي محل الكود :

local Marker = createMarker ( 1352.32373, -1759.25378, 14.50781, "arrow", 1.4, 0, 0, 255, 255 )

addEventHandler ( "onMarkerHit",Marker ,
    function ( hitPlayer )
            if ( getElementType( hitPlayer ) == "player"  ) and not isPedInVehicle( hitPlayer ) then 
              setElementInterior ( Marker , 3 ) 
                     setElementPosition ( hitPlayer, 204.48776, -165.69647, 1000.52344 )
         end
  end
)

 

المشكلهه : لما يخش علي المركر يخش علي شاشه سوده .


Link to comment

اكيد لازم يخش علي شاشة سودا راجع كودك انتا ترسل اللاعب للاحداثيات في العالم الاساسي الي هوا 0

كودك غلط اصلا تسوي انتريور الماركر مو اللاعب

local Marker = createMarker( 1352.32373, -1759.25378, 14.50781, "arrow", 1.4, 0, 0, 255, 255)

addEventHandler("onMarkerHit", Marker,
  function(hit)
    if getElementType(hit) == "player" and not isPedInVehicle(hit) then
      setElementInterior(hit, 3)
      setElementPosition(hit, 204.48776, -165.69647, 1000.52344)
   end
end)

 

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...