16.06.2009, 06:13
Hello!,
I have a problem with this mysql request. The query is right, because I have tested it in php.
I have changed the query a lot, for example I have added an end token ";" ... but everytime my server crashes.
Maybe you can tell me my mistake, thanks!
I use a_sampmysql...
Yes, I have defined mysql_query4...
THANK YOU... Greetings from Germany .. MY
I have a problem with this mysql request. The query is right, because I have tested it in php.
I have changed the query a lot, for example I have added an end token ";" ... but everytime my server crashes.
Maybe you can tell me my mistake, thanks!
I use a_sampmysql...
Код:
format(samp_mysql_query4, sizeof(samp_mysql_query4), "SELECT id FROM user WHERE name = '%s'",playrname); samp_mysql_query(samp_mysql_query4); samp_mysql_store_result(); if(samp_mysql_num_rows() != 0) { gPlayerAccount[playerid] = 1; } else { gPlayerAccount[playerid] = 0; } samp_mysql_free_result();
THANK YOU... Greetings from Germany .. MY