11.03.2010, 20:00
(
Последний раз редактировалось Calgon; 09.01.2011 в 07:14.
)
I was messing around with MySQL for a bit, and I realized there was no basic login/registration scripts (correct me if I'm wrong), so I decided to release this script - I was going to work on it and make a whole new GM, however I changed my mind, so I'm going to release it here. It may not exactly be great code, but hey, it's still code.
http://files.uploadffs.com/d/6/0d566b94/MySQL.pwn
http://pastebin.com/8J46Xiy4 (pastebin PWN)
It has a locations system included, as an example of how to load things etc. It's not exactly finished, but it's a good base IMO.
MYSQL DUMP (ignore the useless tables or delete them):
http://pastebin.com/fnNGeFqQ
There's an incomplete tutorial provided as well.
THIS USES STRICKENKID'S MYSQL PLUGIN! http://forum.sa-mp.com/index.php?topic=148182.0
I highly advise against using this - use another script, this uses inefficient methods that I learned when I first picked up MySQL in PAWN.
http://files.uploadffs.com/d/6/0d566b94/MySQL.pwn
http://pastebin.com/8J46Xiy4 (pastebin PWN)
It has a locations system included, as an example of how to load things etc. It's not exactly finished, but it's a good base IMO.
MYSQL DUMP (ignore the useless tables or delete them):
http://pastebin.com/fnNGeFqQ
There's an incomplete tutorial provided as well.
THIS USES STRICKENKID'S MYSQL PLUGIN! http://forum.sa-mp.com/index.php?topic=148182.0
I highly advise against using this - use another script, this uses inefficient methods that I learned when I first picked up MySQL in PAWN.