Jump to content

jortjuh

Members
  • Posts

    6
  • Joined

  • Last visited

jortjuh's Achievements

Vic

Vic (3/54)

0

Reputation

  1. it works! thanks for helping all!
  2. it is not working...... i don't know whats wrong with it
  3. i added it in my meta.xml but i it really doesn't work. it doesn't give any errors. and when i use it in a freeroam and i walk through it, it works but when i use it in my race resource it doesnt work. maybe it isn't compatible with race resource?
  4. ok thanks i will do that.
  5. can some one help me please?
  6. hello, i want to try to use moving objects in maps, that works for me but i want to use it when the player is in a certain area. there for i use: elementColShapeHit. i'm currently using a test script i got from MTA wiki. when i use this in free roam resource it works. but when i'm using the script in my race resource(so i'm using cars) it stops working, but MTA wiki says it should work with both(player and cars) this is the code i got from MTA wiki: local gate_test = createColCircle ( 2482, -1701, 20 ) function elementColShapeHit( colShapeHit ) if colShapeHit == gate_test then -- if element entered the created colshape outputChatBox( getElementType( source ) .. " entered the colCircle!" ) -- print the type of the element to chatbox end end addEventHandler( "onElementColShapeHit", getRootElement(), elementColShapeHit ) -- add a handler function for the event
×
×
  • Create New...