Jump to content

Search the Community

Showing results for tags 'setelement'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
    • General
    • Multi Theft Auto 0.5r2
    • Third party GTA mods
  • Archive
    • Archived Items
    • Trash

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Gang


Location


Occupation


Interests

Found 1 result

  1. Здравствуйте, дорогое комьюнити! Столкнулся с проблемой в функции nachalo. Должно быть так, чтобы маркер появлялся в 3 интерьере и в 14343 измерении. Но почему-то не работает. Скину вам полностью скрипт, проблема в функции nachalo. Помогите пожалуйста! marker = createMarker( -1285, -135, 15, "cylinder", 1.5, 255, 255, 0, 170) function MarkerHit( hitElement, matchingDimension ) if ( getElementDimension ( hitElement ) == 0 ) then -- if the player is in dimension 0 setElementDimension ( hitElement, 1 ) -- set his dimension to 1 local elementType = getElementType( hitElement ) -- get the hit element's type setElementInterior ( hitElement, 3, 390, 174, 1009 ) end end addEventHandler( "onMarkerHit", marker, MarkerHit ) -- attach onMarkerHit event to MarkerHit function marker1 = createMarker( 364, 174, 1009, "cylinder", 1.5, 255, 255, 0, 170) function nachalo ( hitElement, matchingDimension ) setElementInterior( marker1, 3 ) setElementDimension( marker1, 1 ) local elementType = getElementType( hitElement ) setElementModel ( hitElement, 1 ) end addEventHandler( "onMarkerHit", marker1, MarkerHit ) -- attach onMarkerHit event to MarkerHit function жду ответов!)
×
×
  • Create New...