Jump to content

isElementWithinMarker مشكلة مع


Recommended Posts

اشرح اللي تباه بالتفصيل

هو يقول لما اخش الماركر في انترور 18 ما يشتغل و لما يكون في انترور 0 يشتغل

و هو يبي العكس

+

server

local marker = createMarker( ... ) 
setElementInterior ( marker, 18 ) 
addEventHandler("onMarkerHit", marker, 
function ( hit) 
if getElementType(hit) == "player" then 
    if getElementInterior(hit) == getElementInterior(source) then 
    setElementPosition(hit,1541.1697998047, -1364.2215576172, 329.796875) 
       end 
   end 
end 
) 

جرب :?

Edited by Guest
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...