19.12.2014, 07:01
Hello everyone, i have problem with mysql loading.
Maybe someone knows can be wrong with this:
Money will be loaded if i write like this:
But its doesn't work if i write like this:
It should work yes? I no need to load only money, so i put "SELEC * " to load everything, kills, deaths....
If someone knows whats the problem, please help me ;] I using old Mysql R5 plugin
Maybe someone knows can be wrong with this:
Money will be loaded if i write like this:
Код:
format(Query,sizeof(Query),"SELECT Money FROM `Players` WHERE Nickname = '%s' AND Password = md5('%s') LIMIT 1",Name,inputtext);
Код:
format(Query,sizeof(Query),"SELECT * FROM `Players` WHERE Nickname = '%s' AND Password = md5('%s') LIMIT 1",vardas,inputtext);
If someone knows whats the problem, please help me ;] I using old Mysql R5 plugin