What would be best for messaging system? - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: What would be best for messaging system? (
/showthread.php?tid=148657)
What would be best for messaging system? -
NewTorran - 18.05.2010
What would be the best saving method to make a messaging system?
Like save it to a file? Or save it to a sql database?
So basically:
DINI or MySQL
By messaging system i mean you can check your inbox for messages of other players, And you can send them
Re: What would be best for messaging system? -
Calgon - 18.05.2010
DINI is for newbies. MySQL, SII or DJSON.
Re: What would be best for messaging system? -
NewTorran - 18.05.2010
SII?
Re: What would be best for messaging system? -
Calgon - 18.05.2010
Quote:
Originally Posted by Joe Torran C
SII?
|
Oh, hmm, I wonder what the search bar is for on the forums.
Re: What would be best for messaging system? -
NewTorran - 18.05.2010
Ok well im going to give MySQL a go,
Im reading this tutorial and it shows me this:
pawn Код:
new string[256];
format(string,sizeof(string),"INSERT INTO `users` (`username`, `password`) VALUES ('%s', MD5('%s'))",PlayerName, password);
mysql_query(string);
How can i save what the player typed without hashing it?
Ive tried removing the MD5 bit but isent working
Re: What would be best for messaging system? -
Calgon - 18.05.2010
Quote:
Originally Posted by Joe Torran C
Ok well im going to give MySQL a go,
Im reading this tutorial and it shows me this:
pawn Код:
new string[256]; format(string,sizeof(string),"INSERT INTO `users` (`username`, `password`) VALUES ('%s', MD5('%s'))",PlayerName, password); mysql_query(string);
How can i save what the player typed without hashing it?
Ive tried removing the MD5 bit but isent working
|
Try asking in the topic of the plugin.