Thread: Player score and deaths

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Dec 2016
    Posts
    21

    Player score and deaths

    I want to make a plugin where the score and deaths carry over between levels.
    Is there a way I can get/set the score and set the deaths of a player?

  2. #2
    begadang jangan begadang =_= anggara_nothing's Avatar
    Join Date
    Jan 2016
    Location
    Indonesia
    Posts
    155

  3. #3
    Registered User
    Join Date
    Dec 2016
    Posts
    21

    Re: Player score and deaths

    And how can I set the deaths?

    EDIT:
    I found out that you can use pPlayer.m_iDeaths
    Last edited by Jorgur; 10-05-2017 at 03:54 PM.

  4. #4
    Registered User
    Join Date
    Dec 2016
    Posts
    21

    Re: Player score and deaths

    New question: I want to use keep_inventory to decide whether or not the score and deaths are remembered. It seems CPersistence is exclusive to map scripts, so I cannot use that. Any ideas?

Posting Permissions

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