Jump to content

Shidony

Members
  • Posts

    29
  • Joined

  • Last visited

Everything posted by Shidony

  1. Shidony

    Edited

    i solved my problem, it was my setInPosition i forgot that i added a freeze and a timer Sorry for the inconvenience.
  2. Shidony

    Edited

    Yes but the problem is not here.
  3. Shidony

    Edited

    I change my script to: local BankEnter = createMarker(-2455.0500,503.7387,30.0776, "corona", 1.0, 255, 255, 255, 255) local BankExit = createMarker(324.01458740234, 110.85294342041, 1007.9656982422, "corona", 1.0, 255, 255, 255, 255) addEventHandler("onMarkerHit", BankEnter, function(hitElement) if (getElementType(hitElement) == "vehicle") then return end setElementFrozen ( hitElement, true ) setTimer( Unfreeze, 10000, 1, "Text" ) outputChatBox("You enter the bank", 255, 0, 0, false) setInPosition(hitElement, 325.62298583984, 114.32950592041, 1007.9656982422, 0) end) addEventHandler("onMarkerHit", BankExit, function(hitElement) if (getElementType(hitElement) == "vehicle") then return end setInPosition(hitElement, -2452.828125, 504.38671875, 30.081373214722, 0) end) function Unfreeze() setElementFrozen ( sourcePlayer, false ) end And i repeat that the problem is the freeze the setInPosition is working.
×
×
  • Create New...