03.01.2013, 10:37
Well i took a fast look and you should replace the '%i' with %d only, it's not needed to put '' around integers.
And it's better if you save a player on a unique ID instead of his name.
And one last thing, maybe this is my opinion, but stop using filterscripts for things like this.
Filterscripts are only good when you have small scripts to load sometimes, like objecteditors, objects things like that, but if you are using filterscripts inside your server.cfg you better can just convert them into your gamemode, because it's pointless to use filterscripts when you always use them, and for me those things always caused wierd bugs...
Thats why I never use filterscripts.
Anyway I think you made some small mistake at the saving or loading part, you should check it and see if it all match with your database structure ect.
I can find the cause in this code.
And it's better if you save a player on a unique ID instead of his name.
And one last thing, maybe this is my opinion, but stop using filterscripts for things like this.
Filterscripts are only good when you have small scripts to load sometimes, like objecteditors, objects things like that, but if you are using filterscripts inside your server.cfg you better can just convert them into your gamemode, because it's pointless to use filterscripts when you always use them, and for me those things always caused wierd bugs...
Thats why I never use filterscripts.
Anyway I think you made some small mistake at the saving or loading part, you should check it and see if it all match with your database structure ect.
I can find the cause in this code.