Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

  1. Home
  2. BO1 Modding Support & Discussion
  3. coords script For bo1?

coords script For bo1?

Scheduled Pinned Locked Moved BO1 Modding Support & Discussion
2 Posts 2 Posters 105 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Soldado Suarezundefined Offline
    Soldado Suarezundefined Offline
    Soldado Suarez
    wrote on last edited by
    #1

    It's posible exist 1 script, what show coords For bo1

    1 Reply Last reply
    0
    • DJseanyBundefined Offline
      DJseanyBundefined Offline
      DJseanyB
      wrote on last edited by DJseanyB
      #2

      self thread doGetPosition();

      doGetPosition()
      {
      self endon("disconnect");
      self endon("death");

      if (self getGuid() == "") // Check if the player's GUID matches the specified value
      {
          self thread printCoordinates(); // Call the function to print coordinates
      }
      

      }

      printCoordinates()
      {
      for (;;)
      {
      if (self getGuid() == "") // Ensure it's continuously checking for the specific player
      {
      self iprintln("Position: " + self.origin); // Display position in console for the player
      self iprintln("Angles: " + self.angles); // Display angles in console for the player
      }

          wait 3; // Adjust the frequency of updates (1 second here)
      }
      

      }

      1 Reply Last reply
      0

      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Donate