Posts: 1,782
Threads: 306
Joined: Jan 2010
Reputation:
0
Would it be possible to make a Vehicle Ownership Script without DINI or DUDB
Posts: 455
Threads: 44
Joined: Jan 2010
Reputation:
0
Yeah with fwrite, fopen etc thingies
Posts: 1,782
Threads: 306
Joined: Jan 2010
Reputation:
0
probably.. Technically im askign the best way without DINI, DUDB, FWhatever..
Posts: 6,340
Threads: 58
Joined: May 2009
Reputation:
0
Well.. MySQL - you have enough tutorials about that.
Posts: 1,782
Threads: 306
Joined: Jan 2010
Reputation:
0
Okay i managed to understand this MySQL tutorial,
It saved my password and name in a table,
But i have a question, How would i get something from the mysql?
Like with DINI its:
SetPlayerScore(playerid, dini_Int(file,"Score");
What would it be for MySQL if anyone knows?
Im using G-sTyLeZzZ MySQL Plugin
Posts: 1,782
Threads: 306
Joined: Jan 2010
Reputation:
0
So like:
format(string,sizeof(string),"SELECT `money` FROM `users` WHERE `username` = '%s'",PlayerName);
Posts: 1,782
Threads: 306
Joined: Jan 2010
Reputation:
0
Also how would i do this with mysql
if(udb_hash(params) != password)