Quote:
Originally Posted by AndreT
pawn Код:
mysql_function_query(dbHandle, "SELECT * FROM players WHERE name = 'Andre' LIMIT 0,1", "true", "OnPlayerDataLoad", "s", "Andre"); forward OnPlayerDataLoad(name[]); public OnPlayerDataLoad(name[]) { new rows, fields; cache_get_data(rows, fields); if(!rows) { print(!"Andre is not a registered account on this server!"); } else { printf("Andre is registered (1 row with %d fields)", fields); } }
|
Ahem, you put quotation marks around a boolean value... :P