1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Solved Give EXP to player

Discussion in 'Development' started by minijaham, Jul 2, 2021.

  1. minijaham

    minijaham Skeleton

    Messages:
    801
    GitHub:
    minijaham
    Hey! I recently noticed that a function for giving exp(partial xp level. This can be obtained through xp orbs.) is not implemented in PMMP yet!

    How can you do this? Any simple solutions?
     
  2. minijaham

    minijaham Skeleton

    Messages:
    801
    GitHub:
    minijaham
    I am so dumb. Sorry guys!

    Solution:
    PHP:
    $player->addXp();
     
    Agent likes this.
  3. Axon

    Axon Zombie

    Messages:
    276
    It happens lmao, I forgot how to dump arrays for a minute :p
     
    Agent and minijaham like this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.