Would it be possible - 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: Would it be possible (
/showthread.php?tid=141613)
Would it be possible -
Torran - 14.04.2010
Would it be possible to make a Vehicle Ownership Script without DINI or DUDB
Re: Would it be possible -
Thrarod - 14.04.2010
Yeah with fwrite, fopen etc thingies
Re: Would it be possible -
Torran - 14.04.2010
Without those aswell
Re: Would it be possible -
Correlli - 14.04.2010
Quote:
Originally Posted by Joe Torran C
Without those aswell
|
And how do you want to create it then? Using MySQL?
Re: Would it be possible -
Torran - 14.04.2010
probably.. Technically im askign the best way without DINI, DUDB, FWhatever..
Re: Would it be possible -
Correlli - 14.04.2010
Well.. MySQL - you have enough tutorials about that.
Re: Would it be possible -
Torran - 14.04.2010
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
Re: Would it be possible -
dice7 - 14.04.2010
Query the database with an sql statement
http://www.w3schools.com/sql/default.asp
Re: Would it be possible -
Torran - 14.04.2010
So like:
format(string,sizeof(string),"SELECT `money` FROM `users` WHERE `username` = '%s'",PlayerName);
Re: Would it be possible -
Torran - 14.04.2010
Also how would i do this with mysql
if(udb_hash(params) != password)