Would it be possible
#1

Would it be possible to make a Vehicle Ownership Script without DINI or DUDB
Reply
#2

Yeah with fwrite, fopen etc thingies
Reply
#3

Without those aswell
Reply
#4

Quote:
Originally Posted by Joe Torran C
Without those aswell
And how do you want to create it then? Using MySQL?
Reply
#5

probably.. Technically im askign the best way without DINI, DUDB, FWhatever..
Reply
#6

Well.. MySQL - you have enough tutorials about that.
Reply
#7

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
Reply
#8

Query the database with an sql statement
http://www.w3schools.com/sql/default.asp
Reply
#9

So like:

format(string,sizeof(string),"SELECT `money` FROM `users` WHERE `username` = '%s'",PlayerName);
Reply
#10

Also how would i do this with mysql

if(udb_hash(params) != password)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)