Posts: 415
Threads: 44
Joined: May 2010
Reputation:
0
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
Posts: 6,129
Threads: 36
Joined: Jan 2009
DINI is for newbies. MySQL, SII or DJSON.
Posts: 6,129
Threads: 36
Joined: Jan 2009
Quote:
Originally Posted by Joe Torran C
SII?
|
Oh, hmm, I wonder what the search bar is for on the forums.
Posts: 6,129
Threads: 36
Joined: Jan 2009
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.