Blockland Files > Add-Ons

Script_SavePlayerScale - save your player's scale today!

Pages: (1/2) > >>

jyvot:

Save Player Scale.Why?

I've been noticing that all Roleplay servers, that have the changing scale function, don't actually save it. Each time you spawn, you have to manually set your scale again. This sucks, especially with Player Persistence.
How does it work?

When a player disconnects, his scale is saved in an automatically created txt file in config/server/playerscales/blid.txt. When a player spawns, it read the scale from txt file(if there's any). If a player dies, the txt file gets deleted and he respawns with standart scale.
If you disconnect while being dead, it will not save your scale.
Credits:

Elmling for coding the whole thing.
me for giving the idea to him

Download right here!


Biqus:

good for tdms

jyvot:

please report any glitches so I can fix them

--- Quote from: Biqus on April 17, 2019, 10:13:41 PM ---good for tdms

--- End quote ---
thank you

-Paint-:

Danke, will be using on metro

Mr.Noßody:

Oh wow, this is something Ive never given any thought.
That's really useful! Good work

Pages: (1/2) > >>

Go to full version