Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 29/04/22 in all areas

  1. Hi Please provide us with your MTA serial. Run MTA, press F8 and type serial
    1 point
  2. Hi, I can confirm the ban is correct for cheating. It expires May 1, 15:17 GMT
    1 point
  3. You can convert the normal vectors to euler angles with the following function, you can use the phi for the so called Z rotation and the theta for one of the remaining (check it which one is better for you). It's a working function, I had a fun time with it shooting trash cans everywhere function directionToEuler(dirX, dirY, dirZ) local radius = (dirX*dirX + dirY*dirY + dirZ*dirZ) ^ 0.5 local theta = math.deg(math.acos(dirZ / radius)) local phi = math.deg(math.atan2(dirY, dirX)) % 360 return theta, phi end
    1 point
×
×
  • Create New...