SA-MP Forums Archive
Question about MySQL - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Question about MySQL (/showthread.php?tid=529284)



Question about MySQL - MrBlake - 01.08.2014

I have a pretty old gamemode (RPG) and I would like to continue scripting it. (I bought it 1-2 years ago, and since then I ocasionally updated it) Why? Because it's very nice, easy to understand, doesn't have bugs, and its good looking.

The problem is that I need to have some statistics, something like:
# How much members invited each faction
# A list with the staff
# How much players have a type of job
# Top players by level
(also, in the future maybe, it would be nice to have a website where faction leaders could invite/uninvite members)

I think you got it.
So, the question is: Do I have to convert my whole gamemode to MySQL to have all those informations? (I know what MySQL is, but I didn't work with it before). If yes, is it hard and takes much time? If not, is there an easier way?


Re: Question about MySQL - SilentSoul - 01.08.2014

I don't think that someone is going to convert a full gamemode for you here, just try to request this at - https://sampforum.blast.hk/showthread.php?tid=447813&page=548

Quote:
Originally Posted by MrBlake
Посмотреть сообщение
I think you got it.
So, the question is: Do I have to convert my whole gamemode to MySQL to have all those informations? (I know what MySQL is, but I didn't work with it before). If yes, is it hard and takes much time? If not, is there an easier way?
You should learn how to use it through tutorials, i believe there are many tutorials/filterscripts like this exists, you cannot get number of members,list of staff without making a mysql faction system, and also a status saver.

Tutorial: https://sampforum.blast.hk/showthread.php?tid=352703


Re: Question about MySQL - MrBlake - 01.08.2014

Quote:
Originally Posted by SilentSoul
Посмотреть сообщение
I don't think that someone is going to convert a full gamemode for you here, just try to request this at - https://sampforum.blast.hk/showthread.php?tid=447813&page=548
Can you tell me where I asked for someone to convert my gamemode? Lol
I dont want any help with scripting, i just need answer to my question.


Re: Question about MySQL - Affan - 01.08.2014

Yes you should convert it. And no it's not hard. I'd tell you to download some mysql gamemodes/scripts and edit them. And you'll start to get what to do and what not to do. That's how I learned. Imo, learning from tutorials is hard.

If you don't know anything about MySQL or anything, just post a new topic in Help Section and there'll be help for sure. That's what I did to learn.

Good luck.