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

Plutonium

  1. Home
  2. BO2 Modding Support & Discussion
  3. Respawn on Saved Position Code?

Respawn on Saved Position Code?

Scheduled Pinned Locked Moved BO2 Modding Support & Discussion
26 Posts 6 Posters 1.6k 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.
  • undefined Offline
    undefined Offline
    Cahz VIP
    replied to Duui YT on May 30, 2020, 7:00 PM last edited by
    #21

    Duui YT weird_face.png

    1 Reply Last reply
    0
    • undefined Offline
      undefined Offline
      Duui YT
      wrote on May 30, 2020, 7:04 PM last edited by
      #22

      TheHiddenHour how am i going to bind it

      undefined undefined 2 Replies Last reply May 30, 2020, 7:20 PM
      0
      • undefined Offline
        undefined Offline
        TheHiddenHour Contributor
        replied to Duui YT on May 30, 2020, 7:20 PM last edited by
        #23

        Duui YT I mean, what you've got already looks like it should work.

        1 Reply Last reply
        1
        • undefined Offline
          undefined Offline
          mikzy Banned
          replied to Duui YT on May 31, 2020, 12:11 AM last edited by mikzy Feb 9, 2021, 6:43 PM
          #24

          Duui YT simple. 2 lines in onPlayerSpawned.

          Onplayerspawn, put this:

          if (isDefined(self.a) && isDefined(self.o)) {
              self setplayerangles(self.a);
              self setorigin(self.o);
          }
          

          This will respawn you on your saved position if its set. Keep the original save and load code too.

          undefined 1 Reply Last reply Feb 8, 2021, 5:17 PM
          0
          • undefined Offline
            undefined Offline
            Codgogo_
            replied to mikzy on Feb 8, 2021, 5:17 PM last edited by Codgogo_ Feb 8, 2021, 7:24 PM
            #25

            mikey where i put this scripte which folder and type

            1 Reply Last reply
            0
            • undefined Offline
              undefined Offline
              Codgogo_
              replied to TheHiddenHour on Feb 9, 2021, 4:30 PM last edited by
              #26

              TheHiddenHour How did u name it in .gsc

              1 Reply Last reply
              0

              • 1
              • 2
              • Login

              • Don't have an account? Register

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