13.11.2011, 19:25
Well, after a couple of mind-blowing thoughts, I made a decision I want to seperate my script into '.pwn' scripts, and include them in one script.
Something like this, in my main script:
So my script works with dini, and it saves all variables from dini into player variables, e.g. Info[playerid][Level].
I was wondering, how can I work with different files, when all of the player data is in a variable, I don't want to edit the user-file using dini all the time, I assume it will cause lag, any ideas?
NOTE: I will not work with mySQL, it wouldn't work, too many issues.
Something like this, in my main script:
PHP код:
#include "Script/HouseSystem.pwn"
#include "Script/AdminCommands.pwn"
I was wondering, how can I work with different files, when all of the player data is in a variable, I don't want to edit the user-file using dini all the time, I assume it will cause lag, any ideas?
NOTE: I will not work with mySQL, it wouldn't work, too many issues.