• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] How to save the position/skin of the player after exiting?
#9
(2021-04-04, 03:39 PM)CrypticSin Wrote: Hi thanks for your help!?

What if i wanted to store more user data like player kills, gamescore, deaths etc.. Will i have to follow the same pattern as you showed for the skins or is there a shorter way of saving these information?

For the game score, it's simple because there are built-in functions that keep track of the score of a player, like "GetPlayerScore", so you need to get the player's score before he exits, use UPDATE, and then when he connects use "SetPlayerScore" in a similar way as we have to do it with their skin.

For other things like player kills and deaths, I guess you have to make a custom function that keep track of that values and then do the same process that you need to do for the score or skin.
  Reply


Messages In This Thread
RE: How to save the position/skin of the player after exiting? - by robertocaribbean - 2021-04-04, 04:01 PM

Forum Jump: