30.07.2015, 12:56
Hello!
I have made a Premium filterscript that allow some people to have more in-game benefits.
HERE IS MY FULL CODE: CODE
Well i think that in my code he checks if in the USERNAME.ini file into the Admins and Premium folder there is a 1 or 0 written in it and when a player connect he automatically understand if is a Premium, an Admin or a normal user.
Well, I think also that in No way he automatically save the USERNAME.ini file in any way when someone connect and automatically set the variable to 0 (normal user) and then save the ini file with like "Jim.ini --> 0"
I've also made a custom txt system where Premium, Admins and Normal users have different colors to avoid to misunderstood what a person is or not, so I'll to keep it like this.
The problem is as right now the filterscript make the whole server crash (and i think is cause the matter up above)
Any help?
I would appreciate also if there is a way (OBV while admin) to set a premium user and admin like /makepremium and /makeadmin so in each cases it change the variable to 1 when the RCON Admin command that strings.
(If it possible) It's great if they use /buypremium to open a browser page where there is the payment form
A big hug to who can help me out on this

HERE IS MY FULL CODE: CODE
Well i think that in my code he checks if in the USERNAME.ini file into the Admins and Premium folder there is a 1 or 0 written in it and when a player connect he automatically understand if is a Premium, an Admin or a normal user.
Well, I think also that in No way he automatically save the USERNAME.ini file in any way when someone connect and automatically set the variable to 0 (normal user) and then save the ini file with like "Jim.ini --> 0"
I've also made a custom txt system where Premium, Admins and Normal users have different colors to avoid to misunderstood what a person is or not, so I'll to keep it like this.
The problem is as right now the filterscript make the whole server crash (and i think is cause the matter up above)
Any help?
I would appreciate also if there is a way (OBV while admin) to set a premium user and admin like /makepremium and /makeadmin so in each cases it change the variable to 1 when the RCON Admin command that strings.
(If it possible) It's great if they use /buypremium to open a browser page where there is the payment form
A big hug to who can help me out on this
