Search the Community

Showing results for tags 'related'.



More search options

  • 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
  • Archive
  • Private Bugtracker

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Gang


Location


Occupation


Interests

Found 2 results

  1. Olá senhores. Bom, estou precisando fazer um objeto apontar para outro como se ele estivesse fazendo um Look At. Mas não sei como calcular o ângulo da rotação Z com base nas posições. Exemplo. Objeto A está na posição 0, 0, 0. Objeto B está na posição 1, 1, 0. Ilustrações: Aplicando o Look At no Objeto A para o B, deve fazer o objeto A "mirar" no Objeto B, colocando a rotação Z do objeto A em 315. Mas como calculo isso? Obs: A rotação é com base nas posições, não importa a rotação do objB.
  2. Hi Friends ! Again, I've fall into a big hole . So, I'm requesting you to help me to come outside this hole by answering this problem . The problem is mentioned below, We use 'setElementData' to store some data in a element like below, local marker = createMarker(0,0,5,"cylinder",1.5,255,255,0,255) addEventHandler("onMarkerHit", marker, function (hitter) setElementData(hitter,"isInsideMarker","yes") end ) addEventHandler("onMarkerLeave", marker, function (leaver) setElementData(leaver,"isInsideMarker","no") end ) as you can see, when element hit the marker, we set it's data called "isInsideMarker", the value "yes". when leave, element's data "isInsideMarker" set to the value "no". Simple idea ! So, in this occasion, "isInsideMarker" data gets only the value "yes" and "no". It successfully store only one value at one time. So, my problem is, how to store multiple values set in one element's data ? [ it may be using a table or ..ect ] can you describe me how to store multiple values in one element data ?