31.01.2017, 12:36
Quote:
pawn Код:
What's the point of this? Local variables are much faster than global arrays. Just use x, y, z instead hence you already created them localy. And by the way if you are doing a script from scratch that's an awful way to save your stuff like that. Lets make a reference here: Imagine yourself eating something, would it be better if you stuff your whole sandwich in your mouth or piece by piece while eating it? |
I shouldn't have a global save function? And call every thing where it is needed? Like, save the money when they update, save the location when the player quit, save the skin when it changed, things like this?
Also I used x,y,z instead of global but coords still save wrong sometimes..