Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/06/19 in Posts

  1. Da es der Code nicht sauber geschrieben wurde und es ein aktuelleres Script gibt werde ich keinen Support etc. mehr auf dieses hier geben falls es noch jemand hat.
    1 point
  2. I have also encountered the same problem and it only happens when something is wrong with the database structure. For example, if I have added new variables to my UserModel like birthday, vehicleCount etc. and havent updated at the database with Migrations/NPM. So basically, if I try to interact with this database in this condition then it closes itself without giving any errors. Btw, I started implementing using try catch forms, since I have started, It didn't crash once and threw all the exceptions. Maybe this helps
    1 point
  3. with Clientside Javascript example: let Ped = mp.peds.new(mp.game.joaat('a_m_y_bevhills_01'), new mp.Vector3( -1153.755, -718.8862, 20.97753), 127.3255, (streamPed) => { // Ped Streamed streamPed.setAlpha(0); }, 0); Change the Vector3 with yours coordination and then the rotation sory for my bad english
    1 point
  4. Will do after i edit it a little as of now it needs to put the veh ids inside a .txt and it doesn't scrapes the wiki automatically.
    1 point
  5. Trigonometry simplifies this a ton. float distance = 2.0f; // Some distance to travel Vector3 pos = player.Position; // Current player pos pos.X += distance * (float)Math.Sin(-heading * Math.PI / 180.0); pos.Y += distance * (float)Math.Cos(-heading * Math.PI / 180.0); That should work the same.
    1 point
×
×
  • Create New...