SA-MP Forums Archive
MySQL and Non MySQL - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: MySQL and Non MySQL (/showthread.php?tid=550786)



MySQL and Non MySQL - ViperAssasin11 - 14.12.2014

I was wondering if you could add a non mysql adminsystem to a mysql server. I know it could work if you change it to the usual scriptfiles. But the scripter refuses to do so. He wants to keeps the stats in mysql. which means he wont be using the register/login system from the adminsystem. is this possible. or is there a way to convert a admin system to mysql


Re: MySQL and Non MySQL - Mado - 14.12.2014

Do you mean an admin filterscript?

If that's the case, it is possible but then you have to save player files twice; one for your 'regular' stats and one for the admin system.

Another option is to save the admin rank in your regular stats and use that number in the filterscript.


However as you've got a scripter I'd recommend you to script a bunch of admin commands yourself.


Re: MySQL and Non MySQL - Lawbringer - 14.12.2014

You could take the stuff in the gamemode from MySQL and use PVars to get/set them sort of like a HashMap works in Java.


Re: MySQL and Non MySQL - ViperAssasin11 - 14.12.2014

ok thanks ill try