Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 18/01/23 in all areas

  1. All tutorials uploaded to the channel can be seen from this thread.
    2 points
  2. About Us ArdicGaming Roleplay is an English-based MTA Server. The community is here to provide quality roleplay along with a welcoming experience. ArdicGaming has been in dormant existence from 2017, when a brief release was available to the public. Years later I co-owned a player's favorite, San Andreas Roleplay with Fernando (Nando) - a household name within MTA at this point. You can read more about San Andreas Roleplay (SA-RP) here. ArdicGaming is supposed to give that nostalgic feeling to players and a warm and welcoming community based in Red County (Los Santos County) to support newcomers, and oldtimers alike. We are here to ensure that we can keep the English MTA Roleplaying scene alive, even if it's only on a small scale! We are determined to show true passion towards the roleplaying scene. Goal Our goals are easy... create a community for all to enjoy, hang out, meet new friends and rekindle with old friends. The English RP community is something that is closely-knit and often brings familiar faces around. We're not here to compete against other gamemodes, we're just here to provide what the players want. With that being said, we are always happy to take suggestions and feedback so that we can provide a community that the players can call home. Staff Team Our staff team is combined with hardened veterans in the roleplaying community, along with newcomers. We have some interesting and talented folk that are with us on this project. Our staff team is the driving force behind the works, keeping the cogs turning so that players can enjoy a fluid experience. Some of our key staff members have returned to take the reigns once again to ensure that the players can achieve the experience they desire. Useful Information We have decided to stick with the SA-RP gamemode along with a day-of-closure database so that players can hop in-game and still have all of their characters and assets. Some players may not have their assets due to removal of powerplay factions and powerplay characters in an aid to balance the economics. This only affected a select few within the server so it's unlikely that you will be impacted by this if you played SARP. We hope to add media to this post so you can see what to expect from us when we officially open to showcase to those who didn't have the opportunity to visit SA-RP when it was around. Useful Links UCP: https://ardicgaming.com/ Forums: https://forums.ardicgaming.com/ Community Rules: https://wiki.ardicgaming.com/ Discord: https://ardicgaming.com/discord/ Server IP: mtasa://164.132.200.104:22003 Thank You! Thanks for taking the time to read. We hope that you stop by and check us out. We are always looking to interact with the community, because at the end of the day, without the people, a community is nothing. From the bottom of our hearts, the ArdicGaming Staff do truly appreciate the time that people take to play, interact and contribute to the community. If you have made it this far, thank you for reading. Your time and patience is greatly appreciated. We look forward to seeing you on launch! Please visit the Forums or our Discord to stay up to date for the server's release.
    1 point
  3. Verifique sua conexão db e verifique se você tem conexão db,e você pode mostrar todo o seu código, posso ajudá-lo
    1 point
  4. To find the relative coordinates of the listener from the point of the sound source, you can use the following steps: Calculate the distance between the listener's position and the sound source's position using the getDistanceBetweenPoints2D function. Calculate the angle between the listener's position and the sound source's position by getting the angle between the two points using math.atan2(y2-y1, x2-x1) Rotate the angle by the sound source's rotation (sound.rotZ) using math.rad(sound.rotZ) Use this angle and the distance to calculate the relative x, y, and z coordinates of the listener from the sound source using math.cos(angle)*distance for the x coordinate and math.sin(angle)*distance for the y coordinate. Use the resulting x, y, and z coordinates to position the listener on the sound source's vector. here is an example of how the relative coordinates of the listener can be calculated using the steps I outlined above local listener = {x = localPlayer.matrix:getPosition().x, y = localPlayer.matrix:getPosition().y, rotZ = localPlayer.matrix:getRotation().z} local sound = {x = -1788.82507, y = -2689.26538, z = 4.26150, rotZ = 180 + 90} local distance = getDistanceBetweenPoints2D ( sound.x, sound.y, listener.x, listener.y ) local angle = math.atan2(listener.y - sound.y, listener.x - sound.x) + math.rad(sound.rotZ) local listenerRelativeX = math.cos(angle) * distance local listenerRelativeY = math.sin(angle) * distance local listenerRelativePos = {x = sound.x + listenerRelativeX, y = sound.y + listenerRelativeY, z = listener.z} This code calculates the relative position of the listener from the sound source using the distance and angle between the listener and sound source, and the rotation of the sound source. The resulting position is stored in the listenerRelativePos variable, which contains the x, y, and z coordinates of the listener relative to the sound source. Note that this code is missing the calculation of the z coordinate, you need to add the calculation of the z coordinate based on the requirement of your game or application.
    1 point
×
×
  • Create New...