Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: Save pers.admin for the next round [search & destroy]

  1. #11
    Private
    Join Date
    Feb 2024
    Posts
    14
    Thanks
    6
    Thanked 0 Times in 0 Posts
    can the .pers vars remain between map changes?

  2. #12
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,730
    Thanks
    17
    Thanked 1,082 Times in 683 Posts
    Quote Originally Posted by 0RBohRgwLk View Post
    can the .pers vars remain between map changes?
    No
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  3. The Following User Says Thank You to IzNoGoD For This Useful Post:

    0RBohRgwLk (31st July 2024)

  4. #13
    Private
    Join Date
    Feb 2024
    Posts
    14
    Thanks
    6
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by IzNoGoD View Post
    No
    So what does exitLevel(true) saves?

  5. #14
    ... connecting iBuddie's Avatar
    Join Date
    Sep 2013
    Location
    mp_toujane
    Posts
    9
    Thanks
    2
    Thanked 2 Times in 2 Posts
    Speaking for cod2: It does retain the player.pers variables, but with some limitations. The data will be dropped if the player reconnects for some reason between a map change (e.g., when there is a file to download with sv_wwwDlDisconnected enabled on the server), and variables of type object (entities, structs, not sure about arrays; basically everything that is just a reference and not a concrete value) are dropped too, meaning they become undefined.

  6. The Following User Says Thank You to iBuddie For This Useful Post:

    0RBohRgwLk (1st August 2024)

  7. #15
    Private
    Join Date
    Feb 2024
    Posts
    14
    Thanks
    6
    Thanked 0 Times in 0 Posts
    Thank you for these details

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •